
Addressing mode
Symbol
Function
Details
IMP
IMM
A
BIT, A
ZP
BIT, ZP
OP n
# OP n
# OP n
# OP n
# OP n
#
OP n
#
APPENDIX
3.10 Machine instructions
3-74
3802 GROUP USER'S MANUAL
Stores the contents of accumulator in memory.
Stops the oscillator.
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
index register X.
Transfers the contents of the accumulator to
index register Y.
Tests whether the contents of memory are “0”
or not.
Transfers the contents of the stack pointer to
index register X.
Transfers the contents of index register X to
the accumulator.
Transfers the contents of index register X to
the stack pointer.
Transfers the contents of index register Y to
the accumulator.
Stops the internal clock.
STA
STP
STX
STY
TAX
TAY
TST
TSX
TXA
TXS
TYA
WIT
M
←
A
M
←
X
M
←
Y
X
←
A
Y
←
A
M = 0
X
←
S
A
←
X
S
←
X
A
←
Y
42
AA
A8
BA
8A
9A
98
C2
85
86
84
64
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
4
4
4
3
2
2
2
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.