w65c816s Microprocessor Data Sheet.pdf
w65c816s Microprocessor Data Sheet.pdf
w65c816s Microprocessor Data Sheet.pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The Western Design Center, Inc.Table 6-5 Operation, Operation Codes, and Status Register (continued on following 4 pages)W65C816S <strong>Data</strong> <strong>Sheet</strong>OperationMnemonic+ Add- Subtract^ ANDProcessor Status Codev ORaAa,xa,yalal,x(a)(a,x)dd,sid,xd,y(d)[d](d,s),y(d,x)(d),y[d],yrrlsxyc#7 6 5 4 3 2 1 0v Exclusive OR 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 N V 1 B D 1 Z CADC A+M+C→A 6D 7D 79 6F 7F 17 65 63 75 72 67 73 61 71 77 69 N V . . . . Z CAND A^M→A 2D 3E 39 2F 3F 25 23 36 32 27 33 91 31 37 29 N . . . . . Z .ASL C←15/7 6 5 4 3 2 10 ←0 0E 0A 1E 06 16 N . . . . . Z CBCC Branch if C = 0 90 . . . . . . . .BCS Branch if C = 1 B0 . . . . . . . .BEQ Branch if Z = 1 F0 . . . . . . . .BIT A ^ M (Note 1) 2C 3C 24 34 89 M 7 M 6 . . . . Z .BMI Branch if N = 0 30 . . . . . . . .BNE Branch if Z = 0 D0 . . . . . . . .BPL Branch if N = 0 10 . . . . . . . .BRA Branch Always 80 . . . . . . . .BRK Break (Note 2) 00 . . . • 0 1 . .BRL* Branch Long Always 82 . . . . . . . .BVC Branch if V = 0 50 . . . . . . . .BVS Branch if V = 1 70 . . . . . . . .CLC C → 0 18 . . . . . . . 0CLD 0 → DD8 . . . . 0 . . .CLI 0 → 1 58 . . . . . 0 . .CLV 0 → V B8 . 0 . . . . . .CMP A-M CD DD D9 CF DF C5 C3 D5 D2 C7 D3 C1 D1 D7 C9 N . . . . . Z CCOP* Co-Processor 02 . . . . 0 1 . .The Western Design Center W65C816S 36