|
M38203M4 Datasheet, PDF (322/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
3.5 Machine instructions
Symbol
Function
STA
MâA
Addressing mode
Details
IMP
IMM
A
BIT, A
ZP
BIT, ZP
OP n # OP n # OP n # OP n # OP n # OP n #
Stores the contents of accumulator in memory.
85 4 2
STP
Stops the oscillator.
42 2 1
STX
STY
TAX
TAY
TST
TSX
TXA
TXS
TYA
WIT
MâX
MâY
XâA
YâA
M = 0?
XâS
AâX
SâX
AâY
Stores the contents of index register X in
memory.
Stores the contents of index register Y in
memory.
Transfers the contents of the accumulator to AA 2 1
index register X.
Transfers the contents of the accumulator to A8 2 1
index register Y.
Tests whether the contents of memory are â0â
or not.
Transfers the contents of the stack pointer to BA 2 1
index register X.
Transfers the contents of index register X to 8A 2 1
the accumulator.
Transfers the contents of index register X to 9A 2 1
the stack pointer.
Transfers the contents of index register Y to 98 2 1
the accumulator.
Stops the internal clock.
C2 2 1
86 4 2
84 4 2
64 3 2
Notes 1 : The number of cycles ânâ is increased by 3 when T is 1.
2 : The number of cycles ânâ is increased by 2 when T is 1.
3 : The number of cycles ânâ is increased by 1 when T is 1.
4 : The number of cycles ânâ is increased by 2 when branching has occurred.
5 : N, V, and Z flags are invalid in decimal operation mode.
3-38
3820 GROUP USERâS MANUAL
|
▷ |