The Western Design Center, Inc.Table 6-7 (continued)Address Mode Note Cycle VPB MLB VDA9a. Block Move Negative(backward) xycMVN1 Op Code N-23 bytes Byte7 cycles C=2x=Source Addressy=Destinationc=# of bytes to move-1x,y IncrementFFFFFF000000N ByteC=09b. Block Move Positive(forward) xyc(MVP)1 Op Code N-23 bytes Byte7 cycles C=2x=Source Addressy=Destinationc=# of bytes to move-1x,y DecrementMVP is used when the destination N-1start address is higher (more Bytepositive ) than the source C=1start address.FFFFFF000000Destination.StartSource StartDestination.EndSource EndDest. EndSource StartDest. StartN ByteLastC=0(see Table 6-7 for abbreviations)12345671234567123456711234567123456712345671111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110011001001100100110011001100100110010011001(14)VPA(14)11100001110000111000011110000111000011100001W65C816S <strong>Data</strong> <strong>Sheet</strong>Address Bus (15) <strong>Data</strong> Bus RWBPBR,PCPBR,PC+1PBR,PC+2SBA,XDBA,YDBA,YDBA,YPBR,PCPBR,PC+1PBR,PC+2SBA,X+1DBA,Y+1DBA,Y+1DBA,Y+1PBR,PCPBR,PC+1PBR,PC+2SBA,X+2DBA,Y+2DBA,Y+2DBA,Y+2PBR,PC+3PBR,PCPBR,PC+1PBR,PC+2SBA,XDBA,YDBA,YDBA,YPBR,PCPBR,PC+1PBR,PC+2SBA,X-1DBA,Y-1DBA,Y-1DBA,Y-1PBR,PCPBR,PC+1PBR,PC+2SBA,X-2DBA,Y-2DBA,Y-2DBA,Y-2PBR,PC+3OpCodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIOOpCodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIOOpCodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIONext OpCodeOpCodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIOOpCodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIOOP CodeDBASBASRC <strong>Data</strong>Dest <strong>Data</strong>IOIONext OpCode11110111111011111101111111011111101111110111The Western Design Center W65C816S 44
The Western Design Center, Inc.Table 6-7 (continued)Address Mode Note Cycle VPB MLB VDA10a. Direct dADC AND BIT, CMP, CPX, CPY ,EOR,LDA, LDX, LDY, ORA, SBC, STA, STX,STY, STZ16 OpCodes, 2 bytes, 3, 4 & 5 cycles10b. Direct (R-M-W)dASL, DEC, INC, LSR, ROL, ROR, TRB,TSB,8 OpCodes, 2 bytes, 5,6,7 and 8 cycles11. Direct Indexed Indirect (d,x)ADC, AND, CMP, EOR, LDA, ORA, SBC,STA,8 OpCodes, 2 bytes, 6,7 and 8 cycles12. Direct Indirect (d)ADC, AND, CMP, EOR, LDA, ORA, SBC.STA,8 OpCodes 2 bytes, 5,6 and 7 cycles13. Direct Indirect Indexed (d),yADC, AND, CMP, EOR, LDA, ORA, SBC,STA8 OpCodes, 2 bytes, 5,6,7 and 8 cycles14. Direct Indirect Indexed Long [d],yADC, AND, CMP, EOR, LDA, ORA, SBC,STA8 OpCodes, 2 bytes, 6,7 and 8 cycles15. Direct Indirect Long [d]ADC, AND, CMP, EOR, LDA, ORA, SBC,STA8 OpCodes, 2 bytes, 6,7 and 8 cycles(see Table 6-8 for abbreviations)(2)(1)(2)(1)(3),(17)(1)(2)(1)(2)(1)(2)(4)(1)(2)(1)(2)(1)122a33a122a33a45a5122a34566a122a3455a122a344a55a122a34566a122a34566a111111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111111111111111001110011011100011111001111100110111001111110011111(14)VPA(14)1100011000000110000001100000110000001100000011000000W65C816S <strong>Data</strong> <strong>Sheet</strong>Address Bus (15) <strong>Data</strong> Bus RWBPBR,PCPBR,PC+1PBR,PC+10,D+DO0,D+DO+1PBR, PCPBR,PC+1PBR,PC+10,D+DO0,D+DO+10,D+DO+10,D+DO+10,D+DOPBR,PCPBR,PC+1PBR,PC+1PBR,PC+10,D+DO+X0,D+DO+X+1DBR,AADBR,AA+1PBR,PCPBR,PC+1PBR,PC+10,D+DO0,D+DO+1DBR,AADBR,AA+1PBR,PCPBR,PC+1PBR,PC+10,D+DO0,D+DO+1DBR,AAH.AAL+YLDBR,AA+YDBR,AA+Y+1PBR,PCPBR,PC+1PBR,PC+10,D+DO0,D+DO+10,D+DO+2AAB,AA+YAAB,AA+Y+1PBR,PCPBR,PC+1PBR,PC+10,D+DO0,D+D0+10,D+DO+2AAB,AAAAB,AA+1OpCodeDOIO<strong>Data</strong> Low<strong>Data</strong> HighOpCodeDOIO<strong>Data</strong> Low<strong>Data</strong> HighIO<strong>Data</strong> High<strong>Data</strong> LowOpCodeDOIOIOAALAAH<strong>Data</strong> Low<strong>Data</strong> HighOpCodeDOIOAALAAH<strong>Data</strong> Low<strong>Data</strong> HighOpCodeDOIOAALAAHIO<strong>Data</strong> Low<strong>Data</strong> HighOpCodeDOIOAALAAHAABDat a Low<strong>Data</strong> HighOpCodeDOIOAALAAHAAB<strong>Data</strong> Low<strong>Data</strong> High1111/01/0111111001111111/01/0111111/01/01111111/01/01111111/01/01111111/01/0The Western Design Center W65C816S 45
- 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 and 42: The Western Design Center, Inc.W65C
- Page 43: 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