November 09, 2018
40
Table 5-7
(continued)
Address Mode
Note
Cycle
VPB
MLB
VDA
(14)
VPA
(14)
Address Bus
(15)
Data Bus
RWB
16a. Direct, X d,x
ADC, AND, BIT, CMP, EOR, LDA
LDY, ORA, SBC, STA, STY, STZ,
12 OpCodes,2 bytes, 4,5,and 6
cycles
(2)
(1)
1
2
2a
3
4
4a
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
PBR,PC
PBR,PC+1
PBR,PC+1
PBR,PC+1
0,D+DO+X
0,D+DO+X+1
OpCode
DO
IO
IO
Data Low
Data High
1
1
1
1
1/0
1/0
16b. Direct, X (R-M-W) d,x
ASL, DEC, INC, LSR, ROL, ROR,
6 OpCodes, 2 bytes, 6,7,8 and 9
cycles
(2)
(1)
(3),(17
)
(1)
1
2
2a
3
4
4a
5
6a
6
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
1
1
0
1
1
1
1
0
0
0
0
0
0
0
PBR,PC
PBR,PC+1
PBR,PC+1
PBR,PC+1
0,D+DO+X
0,D+DO+X+1
0,D+DO+X+1
0,D+DO+X+1
0,D+DO+X
OpCode
DO
IO
IO
Data Low
Data High
IO
Data High
Data Low
1
1
1
1
1
1
1
0
0
17. Direct, Y d,y
LDX, STX
2 OpCodes, 2 bytes, 4,5 and 6
cycles
(2)
(1)
1
2
2a
3
4
4a
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
PBR,PC
PBR,PC+1
PBR,PC+1
PBR,PC+1
0,D+DO+Y
0,D+DO+Y+1
OpCode
DO
IO
IO
Data Low
Data High
1
1
1
1
1/0
1/0
18.Immediate #
ADC, AND, BIT, CMP, CPX, CPY,
EOR, LDA, LDX, LDY, ORA, REP,
SEC, SEP
14 OpCodes, 2 and 3 bytes, 2 and
3 cycles
(1)(8)
1
2
2a
1
1
1
1
1
1
1
0
0
1
1
1
PBR,PC
PBR,PC+1
PBR,PC+2
OpCode
IDL
IDH
1
1
1
19a. Implied i
CLC, CLD, CLI, CLV, DEX, DEY,
INX, INY, NOP, SEC, SED, SEI,
TAX, TAY, TCD, TCS, TDC, TSC,
TSX, TXA, TXS, TXY, TYA, TYX,
XCE
25 OpCodes, 1 byte, 2 cycles
1
2
1
1
1
1
1
0
1
0
PBR,PC
PBR,PC+1
OpCode
IO
1
1
19b. Implied i
XBA
1 OpCode, 1 byte, 3 cycles
1
2
3
1
1
1
1
1
1
1
0
0
1
0
0
PBR,PC
PBR,PC+1
PBR,PC+1
OpCode
IO
IO
1
1
1
19c. Stop the Clock
STP
1 OpCode
1 byte RESB=1
3 cycles RESB=0
RESB=0
RESB=1
(See
22a.
Stack
Hardware
Interrupt)
1
2
3
1c
1b
1a
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
1
PBR,PC
PBR,PC+1
PBR,PC+1
PBR,PC+1
PBR,PC+1
PBR,PC+1
PBR,PC+1
OpCode
IO
IO
RES (BRK)
RES (BRK)
RES (BRK)
BEGIN
1
1
1
1
1
1
1
19d. Wait for Interrupt
WAI
1 OpCode,1 byte
3 cycles IRQB, NMIB
RDY=1
(9)RDY=1
RDY=0
RDY=1
1
2
3
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
1
PBR,PC
PBR,PC+1
PBR,PC+1
PBR,PC+1
OpCode
IO
IO
IRQ(BRK)
1
1
1
1