The Western Design Center, Inc.W65C816S <strong>Data</strong> <strong>Sheet</strong>Table 6-76-6 Instruction Operation (continued on following 6 pages)Address Mode Note Cycle VPB MLB VDA(14)1a. Absolute aADC, AND, BIT, CMP, CPX, CPY, EOR,LDA, LDX LDY ORA, SBC, STA, STX,STY, STZ,18 OpCodes, 3 bytes, 4 & 5 cycles (1)1b. Absolute aJMP (4C)1 OpCode, 3 bytes, 3 cycles1c. Absolute aJSR1 OpCode, 3 bytes, 6 cycles(different order from N6502)1d. Absolute (R-M-W) aASL, DEC, INC, LSR, ROL, ROR, TRB,TSB6 OpCodes, 3 bytes, 6 & 8 cycles2a. Absolute Indexed Indirect (a,x)JMP1 OpCode, 3 bytes, 6 cycles2b. Absolute Indexed Indirect (a,x)JSR1 OpCode, 3 bytes, 8 cycles(1)(3)(17)(1)12344a1231123456112344a56a61234561123456781111111111111111111111111111111111111111111111111111111111110000011111111111111111001110011000111100110111000001101100001VPA(14)1110011111110001111000001110111110010111Address Bus (15) <strong>Data</strong> Bus RWBPBR,PCPBR,PC+1PBR,PC+2DBR,AADBR,AA+1PBR,PCPBR,P C+1PBR,PC+2PBR,New PCPBR,PCPBR,PC+1PBR,PC+2PBR,PC+20,S0,S-1PBR,NEWPCPBR,PCPBR,PC+1PBR,PC+2DBR,AADBR,AA+1DBR,AA+1DBR,AA+1DBR,AAPBR,PCPBR-PC+1PBR-PC+2PBR,PC+2PBR,AA+XPBR,AA+X+1PBR,NEW PCPBR,PCPBR,PC+10,S0,S-1PBR,PC+2PBR,PC+2PBR,AA+XPBR,AA+X+1PBR,NEW PCOpCodeAALAAH<strong>Data</strong> Low<strong>Data</strong> HighOpCodeNew PCLNew PCHOpCodeOpCodeNew PCLNew PCHIOPCHPCLNext OpCodeOpCodeAALAAH<strong>Data</strong> Low<strong>Data</strong> HighIO<strong>Data</strong> High<strong>Data</strong> LowOpCodeAALAAHIONew PCLNew PCHOpCodeOpCodeAALPCHPCLAAHIONew PCLNew PCHNext OpCode1111/01/0111111110011111110011111111100111113a. Absolute Indirect (a)JML1 OpCode, 3 bytes, 6 cycles3b. Absolute Indirect (a)JMP1 OpCode, 3 bytes, 5 cycles12345611234511111111111111111111111111110011111001111110001111001PBR,PCPBR,PC+1PBR,PC+20,AA0,AA+10,AA+2NEW PBR,PCPBR,PCPBR,PC+1PBR,PC+20,AA0,AA+1PBR,NEW PCOpCodeAALAAHNew PCLNew PCHNew PBROpCodeOpCodeAALAAHNew PCLNew PCHOpCode1111111111111(See Table 6.8 for abbreviations.)The Western Design Center W65C816S 42
The Western Design Center, Inc.Table 6-7 (continued)Address Mode Note Cycle VPB MLB VDA4a. Absolute Long alADC, AND, CMP, EOR, LDA, ORA, SBC,STA, 8 OpCodes, 4 bytes,5 & 6 cycles4b. Absolute Long (JUMP) alJMP1 OpCode, 4 bytes, 4 cycles4c. Absolute Long (JUMP to SubroutineLong) alJSL1 OpCode, 4 bytes, 7 cycles5. Absolute Long,X al,xADC, AND, CMP, EOR, LDA, ORA, SBC,STA8 OpCodes, 4 bytes, 5 and 6 cycles(1)(1)6a Absolute, X a, xADC, AND, BIT, CMP, EOR, LDA, LDY,ORA, SBC, STA, STA, STZ12 OpCodes, 3 bytes, 4,5 and 6 cycles (4)6b Absolute, X(R-M-W) a,xASL, DEC INC LSR ROL, ROR6 OpCodes, 3 bytes, 7 and 9 cycles(1)7. Absolute, Y a,yADC, AND, CMP, EOR, LDA, LDX, ORA,SBC, STA9 OpCodes, 3 bytes, 4,5 and 6 cycles (4)8. Accumulator AASL, DEC, INC, LSR, ROL, ROR6 OpCodes, 1 byte, 2 cycles(see Table 6-8 for abbreviations)(1)(3)(17)(1)(1)123455a12341123456781123455a1233a44a123455a67a71233a44a1211111111111111111111111111111111111111111111111111111111111111111111111111111111111110000011111111(14)1000111000110010011110001110001110001101110001110VPA(14)1111001111111100100111110011100011100000011100010W65C816S <strong>Data</strong> <strong>Sheet</strong>Address Bus (15) <strong>Data</strong> Bus RWBPBR,PCPBR,PC+1PBR,PC+2PBR,PC+3AAB,AAAAB,AA+1PBR,PCPBR,PC+1PBR,PC+2PBR,PC+3New PBR,PCPBR,PCPBR,PC+1PBR,PC+20,S0,SPBR,PC+30,S-10,S-2New PBR,PCPBR,PCPBR,PC+1PBR,PC+2PBR,PC+3AAB,AA+XAAB,AA+X+1PBR,PCPBR,PC+1PBR,PC+2DBR,AAH,AAL+XLDBR,AA+XDBR,AA+X+1PBR,PCPBR,PC+1PBR,PC+2DBR,AAH,AAL+XLDBR,AA+XDBR,AA+X+1DBR,AA+X+1DBR,AA+X+1DBR,AA+XPBR,PCPBR,PC+1PBR,PC+2DBR,AAH,AAL+YLDBR,AA+YDBR,AA+Y+1PBR,PCPBR,PC+1OpCodeAALAAHAAB<strong>Data</strong> Low<strong>Data</strong> HighOpCodeNew PCLNew PCHNew BROpCodeOpCodeNew PCLNew PCHPBRIONew PBRPCHPCLNext OpCodeOpCodeAALAAHAAB<strong>Data</strong> Low<strong>Data</strong> HighOpCodeAALAAHIO<strong>Data</strong> Low<strong>Data</strong> HighOpCodeAALAAHIO<strong>Data</strong> LowDate HighIO<strong>Data</strong> High<strong>Data</strong> LowOpCodeAALAAHIO<strong>Data</strong> Low<strong>Data</strong> HighOpCodeIO11111/01/01111111101100111111/01/011111/01/011111110011111/01/011The Western Design Center W65C816S 43
- Page 1 and 2: The Western Design Center, Inc.Upda
- Page 3 and 4: The Western Design Center, Inc.W65C
- Page 5 and 6: The Western Design Center, Inc.W65C
- Page 7 and 8: The Western Design Center, Inc.1 IN
- Page 9 and 10: The Western Design Center, Inc.W65C
- Page 11 and 12: The Western Design Center, Inc.W65C
- Page 13 and 14: The Western Design Center, Inc.3 PI
- Page 15 and 16: The Western Design Center, Inc.W65C
- Page 17 and 18: The Western Design Center, Inc.W65C
- Page 19 and 20: The Western Design Center, Inc.3.13
- Page 21 and 22: The Western Design Center, Inc.W65C
- Page 23 and 24: The Western Design Center, Inc.W65C
- Page 25 and 26: The Western Design Center, Inc.W65C
- Page 27 and 28: The Western Design Center, Inc.W65C
- Page 29 and 30: The Western Design Center, Inc.5.2
- Page 31 and 32: The Western Design Center, Inc.W65C
- Page 33 and 34: The Western Design Center, Inc.W65C
- Page 35 and 36: The Western Design Center, Inc.Tabl
- Page 37 and 38: iThe Western Design Center, Inc.W65
- Page 39 and 40: iThe Western Design Center, Inc.W65
- Page 41: The Western Design Center, Inc.W65C
- Page 45 and 46: The Western Design Center, Inc.Tabl
- Page 47 and 48: The Western Design Center, Inc.20.
- Page 49 and 50: The Western Design Center, Inc.W65C
- Page 51 and 52: The Western Design Center, Inc.W65C
- Page 53 and 54: The Western Design Center, Inc.W65C
- Page 55 and 56: The Western Design Center, Inc.W65C
- Page 57 and 58: The Western Design Center, Inc.W65C
- Page 59 and 60: The Western Design Center, Inc.W65C
- Page 61 and 62: The Western Design Center, Inc.W65C