November 09, 2018
36
Table 5-7 Instruction Operation (continued on following 6 pages)
Address Mode
Note
Cycl
e
VPB
MLB
VDA
(14)
VPA
(14)
Address Bus
(15)
Data Bus
RWB
1a. Absolute a
ADC, AND, BIT, CMP, CPX, CPY, EOR,
LDA, LDX LDY ORA, SBC, STA, STX,
STY, STZ,
18 OpCodes, 3 bytes, 4 & 5 cycles
(1)
1
2
3
4
4a
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
0
0
PBR,PC
PBR,PC+1
PBR,PC+2
DBR,AA
DBR,AA+1
OpCode
AAL
AAH
Data Low
Data High
1
1
1
1/0
1/0
1b. Absolute a
JMP (4C)
1 OpCode, 3 bytes, 3 cycles
1
2
3
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
PBR,PC
PBR,PC+1
PBR,PC+2
PBR,New PC
OpCode
New PCL
New PCH
OpCode
1
1
1
1
1c. Absolute a
JSR
1 OpCode, 3 bytes, 6 cycles
(different order from N6502)
1
2
3
4
5
6
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
0
0
0
1
PBR,PC
PBR,PC+1
PBR,PC+2
PBR,PC+2
0,S
0,S-1
PBR,NEWPC
OpCode
New PCL
New PCH
IO
PCH
PCL
Next
OpCode
1
1
1
1
0
0
1
1d. Absolute (R-M-W) a
ASL, DEC, INC, LSR, ROL, ROR, TRB,
TSB
6 OpCodes, 3 bytes, 6 & 8 cycles
(1)
(3)(17)
(1)
1
2
3
4
4a
5
6a
6
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
0
1
1
0
1
1
1
1
1
0
0
0
0
0
PBR,PC
PBR,PC+1
PBR,PC+2
DBR,AA
DBR,AA+1
DBR,AA+1
DBR,AA+1
DBR,AA
OpCode
AAL
AAH
Data Low
Data High
IO
Data High
Data Low
1
1
1
1
1
1
0
0
2a. Absolute Indexed Indirect (a,x)
JMP
1 OpCode, 3 bytes, 6 cycles
1
2
3
4
5
6
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
1
1
1
PBR,PC
PBR-PC+1
PBR-PC+2
PBR,PC+2
PBR,AA+X
PBR,AA+X+1
PBR,NEW PC
OpCode
AAL
AAH
IO
New PCL
New PCH
OpCode
1
1
1
1
1
1
1
2b. Absolute Indexed Indirect (a,x)
JSR
1 OpCode, 3 bytes, 8 cycles
1
2
3
4
5
6
7
8
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
0
0
0
0
1
1
1
0
0
1
0
1
1
1
PBR,PC
PBR,PC+1
0,S
0,S-1
PBR,PC+2
PBR,PC+2
PBR,AA+X
PBR,AA+X+1
PBR,NEW PC
OpCode
AAL
PCH
PCL
AAH
IO
New PCL
New PCH
Next
OpCode
1
1
0
0
1
1
1
1
1
3a. Absolute Indirect (a)
JML
1 OpCode, 3 bytes, 6 cycles
1
2
3
4
5
6
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
0
0
0
1
PBR,PC
PBR,PC+1
PBR,PC+2
0,AA
0,AA+1
0,AA+2
NEW PBR,PC
OpCode
AAL
AAH
New PCL
New PCH
New PBR
OpCode
1
1
1
1
1
1
1
3b. Absolute Indirect (a)
JMP
1 OpCode, 3 bytes, 5 cycles
1
2
3
4
5
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
PBR,PC
PBR,PC+1
PBR,PC+2
0,AA
0,AA+1
PBR,NEW PC
OpCode
AAL
AAH
New PCL
New PCH
OpCode
1
1
1
1
1
1