Technical information
3800 GROUP USER’S MANUAL
APPENDIX
3.9 Machine instructions
Addressing mode
ZP, X ZP, Y ABS ABS, X ABS, Y IND
ZP, IND IND, X IND, Y REL SP 7 6 5 4 3 2 1 0
Processor status register
NVTBD I ZC
OP n # OP n # OP n # OP n # OP n # OP n # OP n # OP n #OP n # OP n # OP n #
3-65
95
94
•
•
•
•
N
N
N
N
N
•
N
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Z
Z
Z
Z
Z
•
Z
•
•
•
•
•
•
•
•
•
•
•
•
•
Addition
Subtraction
Logical OR
Logical AND
Logical exclusive OR
Negation
Shows direction of data flow
Index register X
Index register Y
Stack pointer
Program counter
Processor status register
8 high-order bits of program counter
8 low-order bits of program counter
8 high-order bits of address
8 low-order bits of address
FF in Hexadecimal notation
Immediate value
Memory specified by address designation of any ad-
dressing mode
Memory of address indicated by contents of index
register X
Memory of address indicated by contents of stack
pointer
Contents of memory at address indicated by AD
H and
AD
L, in ADH is 8 high-order bits and ADL is 8 low-or-
der bits.
Contents of address indicated by zero page AD
L
1 bit of accumulator
1 bit of memory
Opcode
Number of cycles
Number of bytes
5
5
2
2
96 5 2
8D
8E
8C
5
5
5
3
3
3
9D639963 81729172
Implied addressing mode
Immediate addressing mode
Accumulator or Accumulator addressing mode
Accumulator bit relative addressing mode
Zero page addressing mode
Zero page bit relative addressing mode
Zero page X addressing mode
Zero page Y addressing mode
Absolute addressing mode
Absolute X addressing mode
Absolute Y addressing mode
Indirect absolute addressing mode
Zero page indirect absolute addressing mode
Indirect X addressing mode
Indirect Y addressing mode
Relative addressing mode
Special page addressing mode
Carry flag
Zero flag
Interrupt disable flag
Decimal mode flag
Break flag
X-modified arithmetic mode flag
Overflow flag
Negative flag
IMP
IMM
A
BIT, A
ZP
BIT, ZP
ZP, X
ZP, Y
ABS
ABS, X
ABS, Y
IND
ZP, IND
IND, X
IND, Y
REL
SP
C
Z
I
D
B
T
V
N
Symbol Contents Symbol Contents
+
–
V
V
–
–
←
X
Y
S
PC
PS
PC
H
PCL
ADH
ADL
FF
nn
M
M(X)
M(S)
M(AD
H, ADL)
M(00, AD
L)
Ab
Mb
OP
n
#
V