|
M38002M4 Datasheet, PDF (166/173 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
3.9 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
MâX
STY
MâY
TAX
XâA
TAY
YâA
TST
M = 0?
TSX
XâS
TXA
AâX
TXS
SâX
TYA
AâY
WIT
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-64
3800 GROUP USERâS MANUAL
|
▷ |