This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

reference

Table of Contents

1 - Instruction List by name

ADC addr6Dnnnn
ADC addr,X7Dnnnn
ADC addr,Y79nnnn
ADC long6Fnnnnnn
ADC long,X7Fnnnnnn
ADC dp65nn
ADC (dp)72nn
ADC (dp,X)61nn
ADC (dp),Y71nn
ADC [dp]67nn
ADC [dp],Y77nn
ADC dp,X75nn
ADC #const69nn
ADC sr,S63nn
ADC (sr,S),Y73nn
AND addr2Dnnnn
AND addr,X3Dnnnn
AND addr,Y39nnnn
AND long2Fnnnnnn
AND long,X3Fnnnnnn
AND dp25nn
AND (dp)32nn
AND (dp,X)21nn
AND (dp),Y31nn
AND [dp]27nn
AND [dp],Y37nn
AND dp,X35nn
AND #const29nn
AND sr,S23nn
AND (sr,S),Y33nn
ASL addr0Ennnn
ASL addr,X1Ennnn
ASL A0A
ASL dp06nn
ASL dp,X16nn
BCC nearlabel90nn
BCS nearlabelB0nn
BEQ nearlabelF0nn
BIT addr2Cnnnn
BIT addr,X3Cnnnn
BIT dp24nn
BIT dp,X34nn
BIT #const89nn
BMI nearlabel30nn
BNE nearlabelD0nn
BPL nearlabel10nn
BRA nearlabel80nn
BRK00nn
BRL label82nnnn
BVC nearlabel50nn
BVS nearlabel70nn
CLC18
CLDD8
CLI58
CLVB8
CMP addrCDnnnn
CMP addr,XDDnnnn
CMP addr,YD9nnnn
CMP longCFnnnnnn
CMP long,XDFnnnnnn
CMP dpC5nn
CMP (dp)D2nn
CMP (dp,X)C1nn
CMP (dp),YD1nn
CMP [dp]C7nn
CMP [dp],YD7nn
CMP dp,XD5nn
CMP #constC9nn
CMP sr,SC3nn
CMP (sr,S),YD3nn
COP const02nn
CPX addrECnnnn
CPX dpE4nn
CPX #constE0nn
CPY addrCCnnnn
CPY dpC4nn
CPY #constC0nn
DEC addrCEnnnn
DEC addr,XDEnnnn
DEC A3A
DEC dpC6nn
DEC dp,XD6nn
DEXCA
DEY88
EOR addr4Dnnnn
EOR addr,X5Dnnnn
EOR addr,Y59nnnn
EOR long4Fnnnnnn
EOR long,X5Fnnnnnn
EOR dp45nn
EOR (dp)52nn
EOR (dp,X)41nn
EOR (dp),Y51nn
EOR [dp]47nn
EOR [dp],Y57nn
EOR dp,X55nn
EOR #const49nn
EOR sr,S43nn
EOR (sr,S),Y53nn
INC addrEEnnnn
INC addr,XFEnnnn
INC A1A
INC dpE6nn
INC dp,XF6nn
INXE8
INYC8
JMP addr4Cnnnn
JMP (addr)6Cnnnn
JMP (addr,X)7Cnnnn
JMP [addr]DCnnnn
JMP long5Cnnnnnn
JSL long22nnnnnn
JSR addr20nnnn
JSR (addr,X)FCnnnn
LDA addrADnnnn
LDA addr,XBDnnnn
LDA addr,YB9nnnn
LDA longAFnnnnnn
LDA long,XBFnnnnnn
LDA dpA5nn
LDA (dp)B2nn
LDA (dp,X)A1nn
LDA (dp),YB1nn
LDA [dp]A7nn
LDA [dp],YB7nn
LDA dp,XB5nn
LDA #constA9nn
LDA sr,SA3nn
LDA (sr,S),YB3nn
LDX addrAEnnnn
LDX addr,XBEnnnn
LDX dpA6nn
LDX dp,XB6nn
LDX #constA2nn
LDY addrACnnnn
LDY addr,XBCnnnn
LDY dpA4nn
LDY dp,XB4nn
LDY #constA0nn
LSR addr4Ennnn
LSR addr,X5Ennnn
LSR A4A
LSR dp46nn
LSR dp,X56nn
MVN srcbk, dstbk54nnnn
MVP srcbk, dstbk44nnnn
NOPEA
ORA addr0Dnnnn
ORA addr,X1Dnnnn
ORA addr,Y19nnnn
ORA long0Fnnnnnn
ORA long,X1Fnnnnnn
ORA dp05nn
ORA (dp)12nn
ORA (dp,X)01nn
ORA (dp),Y11nn
ORA [dp]07nn
ORA [dp],Y17nn
ORA dp,X15nn
ORA #const09nn
ORA sr,S03nn
ORA (sr,S),Y13nn
PEA addrF4nnnn
PEI (dp)D4nn
PER label62nnnn
PHA48
PHB8B
PHD0B
PHK4B
PHP08
PHXDA
PHY5A
PLA68
PLBAB
PLD2B
PLP28
PLXFA
PLY7A
REP #constC2nn
ROL addr2Ennnn
ROL addr,X3Ennnn
ROL A2A
ROL dp26nn
ROL dp,X36nn
ROR addr6Ennnn
ROR addr,X7Ennnn
ROR A6A
ROR dp66nn
ROR dp,X76nn
RTI40
RTL6B
RTS60
SBC addrEDnnnn
SBC addr,XFDnnnn
SBC addr,YF9nnnn
SBC longEFnnnnnn
SBC long,XFFnnnnnn
SBC dpE5nn
SBC (dp)F2nn
SBC (dp,X)E1nn
SBC (dp),YF1nn
SBC [dp]E7nn
SBC [dp],YF7nn
SBC dp,XF5nn
SBC #constE9nn
SBC sr,SE3nn
SBC (sr,S),YF3nn
SEC38
SEDF8
SEI78
SEP #constE2nn
STA addr8Dnnnn
STA addr,X9Dnnnn
STA addr,Y99nnnn
STA long8Fnnnnnn
STA long,X9Fnnnnnn
STA dp85nn
STA (dp)92nn
STA (dp,X)81nn
STA (dp),Y91nn
STA [dp]87nn
STA [dp],Y97nn
STA dp,X95nn
STA sr,S83nn
STA (sr,S),Y93nn
STPDB
STX addr8Ennnn
STX dp86nn
STX dp,Y96nn
STY addr8Cnnnn
STY dp84nn
STY dp,X94nn
STZ addr9Cnnnn
STZ addr,X9Ennnn
STZ dp64nn
STZ dp,X74nn
TAXAA
TAYA8
TCD5B
TCS1B
TDC7B
TRB addr1Cnnnn
TRB dp14nn
TSB addr0Cnnnn
TSB dp04nn
TSC3B
TSXBA
TXA8A
TXS9A
TXY9B
TYA98
TYXBB
WAICB
WDM42nn
XBAEB
XCEFB

2 - Instruction List by opcode

BRK00nn
ORA (dp,X)01nn
COP const02nn
ORA sr,S03nn
TSB dp04nn
ORA dp05nn
ASL dp06nn
ORA [dp]07nn
PHP08
ORA #const09nn
ASL A0A
PHD0B
TSB addr0Cnnnn
ORA addr0Dnnnn
ASL addr0Ennnn
ORA long0Fnnnnnn
BPL nearlabel10nn
ORA (dp),Y11nn
ORA (dp)12nn
ORA (sr,S),Y13nn
TRB dp14nn
ORA dp,X15nn
ASL dp,X16nn
ORA [dp],Y17nn
CLC18
ORA addr,Y19nnnn
INC A1A
TCS1B
TRB addr1Cnnnn
ORA addr,X1Dnnnn
ASL addr,X1Ennnn
ORA long,X1Fnnnnnn
JSR addr20nnnn
AND (dp,X)21nn
JSL long22nnnnnn
AND sr,S23nn
BIT dp24nn
AND dp25nn
ROL dp26nn
AND [dp]27nn
PLP28
AND #const29nn
ROL A2A
PLD2B
BIT addr2Cnnnn
AND addr2Dnnnn
ROL addr2Ennnn
AND long2Fnnnnnn
BMI nearlabel30nn
AND (dp),Y31nn
AND (dp)32nn
AND (sr,S),Y33nn
BIT dp,X34nn
AND dp,X35nn
ROL dp,X36nn
AND [dp],Y37nn
SEC38
AND addr,Y39nnnn
DEC A3A
TSC3B
BIT addr,X3Cnnnn
AND addr,X3Dnnnn
ROL addr,X3Ennnn
AND long,X3Fnnnnnn
RTI40
EOR (dp,X)41nn
WDM42nn
EOR sr,S43nn
MVP srcbk, dstbk44nnnn
EOR dp45nn
LSR dp46nn
EOR [dp]47nn
PHA48
EOR #const49nn
LSR A4A
PHK4B
JMP addr4Cnnnn
EOR addr4Dnnnn
LSR addr4Ennnn
EOR long4Fnnnnnn
BVC nearlabel50nn
EOR (dp),Y51nn
EOR (dp)52nn
EOR (sr,S),Y53nn
MVN srcbk, dstbk54nnnn
EOR dp,X55nn
LSR dp,X56nn
EOR [dp],Y57nn
CLI58
EOR addr,Y59nnnn
PHY5A
TCD5B
JMP long5Cnnnnnn
EOR addr,X5Dnnnn
LSR addr,X5Ennnn
EOR long,X5Fnnnnnn
RTS60
ADC (dp,X)61nn
PER label62nnnn
ADC sr,S63nn
STZ dp64nn
ADC dp65nn
ROR dp66nn
ADC [dp]67nn
PLA68
ADC #const69nn
ROR A6A
RTL6B
JMP (addr)6Cnnnn
ADC addr6Dnnnn
ROR addr6Ennnn
ADC long6Fnnnnnn
BVS nearlabel70nn
ADC (dp),Y71nn
ADC (dp)72nn
ADC (sr,S),Y73nn
STZ dp,X74nn
ADC dp,X75nn
ROR dp,X76nn
ADC [dp],Y77nn
SEI78
ADC addr,Y79nnnn
PLY7A
TDC7B
JMP (addr,X)7Cnnnn
ADC addr,X7Dnnnn
ROR addr,X7Ennnn
ADC long,X7Fnnnnnn
BRA nearlabel80nn
STA (dp,X)81nn
BRL label82nnnn
STA sr,S83nn
STY dp84nn
STA dp85nn
STX dp86nn
STA [dp]87nn
DEY88
BIT #const89nn
TXA8A
PHB8B
STY addr8Cnnnn
STA addr8Dnnnn
STX addr8Ennnn
STA long8Fnnnnnn
BCC nearlabel90nn
STA (dp),Y91nn
STA (dp)92nn
STA (sr,S),Y93nn
STY dp,X94nn
STA dp,X95nn
STX dp,Y96nn
STA [dp],Y97nn
TYA98
STA addr,Y99nnnn
TXS9A
TXY9B
STZ addr9Cnnnn
STA addr,X9Dnnnn
STZ addr,X9Ennnn
STA long,X9Fnnnnnn
LDY #constA0nn
LDA (dp,X)A1nn
LDX #constA2nn
LDA sr,SA3nn
LDY dpA4nn
LDA dpA5nn
LDX dpA6nn
LDA [dp]A7nn
TAYA8
LDA #constA9nn
TAXAA
PLBAB
LDY addrACnnnn
LDA addrADnnnn
LDX addrAEnnnn
LDA longAFnnnnnn
BCS nearlabelB0nn
LDA (dp),YB1nn
LDA (dp)B2nn
LDA (sr,S),YB3nn
LDY dp,XB4nn
LDA dp,XB5nn
LDX dp,XB6nn
LDA [dp],YB7nn
CLVB8
LDA addr,YB9nnnn
TSXBA
TYXBB
LDY addr,XBCnnnn
LDA addr,XBDnnnn
LDX addr,XBEnnnn
LDA long,XBFnnnnnn
CPY #constC0nn
CMP (dp,X)C1nn
REP #constC2nn
CMP sr,SC3nn
CPY dpC4nn
CMP dpC5nn
DEC dpC6nn
CMP [dp]C7nn
INYC8
CMP #constC9nn
DEXCA
WAICB
CPY addrCCnnnn
CMP addrCDnnnn
DEC addrCEnnnn
CMP longCFnnnnnn
BNE nearlabelD0nn
CMP (dp),YD1nn
CMP (dp)D2nn
CMP (sr,S),YD3nn
PEI (dp)D4nn
CMP dp,XD5nn
DEC dp,XD6nn
CMP [dp],YD7nn
CLDD8
CMP addr,YD9nnnn
PHXDA
STPDB
JMP [addr]DCnnnn
CMP addr,XDDnnnn
DEC addr,XDEnnnn
CMP long,XDFnnnnnn
CPX #constE0nn
SBC (dp,X)E1nn
SEP #constE2nn
SBC sr,SE3nn
CPX dpE4nn
SBC dpE5nn
INC dpE6nn
SBC [dp]E7nn
INXE8
SBC #constE9nn
NOPEA
XBAEB
CPX addrECnnnn
SBC addrEDnnnn
INC addrEEnnnn
SBC longEFnnnnnn
BEQ nearlabelF0nn
SBC (dp),YF1nn
SBC (dp)F2nn
SBC (sr,S),YF3nn
PEA addrF4nnnn
SBC dp,XF5nn
INC dp,XF6nn
SBC [dp],YF7nn
SEDF8
SBC addr,YF9nnnn
PLXFA
XCEFB
JSR (addr,X)FCnnnn
SBC addr,XFDnnnn
INC addr,XFEnnnn
SBC long,XFFnnnnnn

3 - Opcode Matrix

Instructions shown in an Opcode Matrix
0123456789ABCDEF
0
BRK 00nn27
ORA (dp,X)01nn26
COP const02nn27
ORA sr,S03nn24
TSB dp04nn25
ORA dp05nn23
ASL dp06nn25
ORA [dp]07nn26
PHP 0813
ORA #const09nn22
ASL A0A12
PHD 0B14
TSB addr0Cnnnn36
ORA addr0Dnnnn34
ASL addr0Ennnn36
ORA long0Fnnnnnn45
1
BPL nearlabel10nn22
ORA (dp),Y11nn25
ORA (dp)12nn25
ORA (sr,S),Y13nn27
TRB dp14nn25
ORA dp,X15nn24
ASL dp,X16nn26
ORA [dp],Y17nn26
CLC 1812
ORA addr,Y19nnnn34
INC A1A12
TCS 1B12
TRB addr1Cnnnn36
ORA addr,X1Dnnnn34
ASL addr,X1Ennnn37
ORA long,X1Fnnnnnn45
2
JSR addr20nnnn36
AND (dp,X)21nn26
JSL long22nnnnnn48
AND sr,S23nn24
BIT dp24nn25
AND dp25nn23
ROL dp26nn25
AND [dp]27nn26
PLP 2814
AND #const29nn22
ROL A2A12
PLD 2B15
BIT addr2Cnnnn34
AND addr2Dnnnn34
ROL addr2Ennnn36
AND long2Fnnnnnn45
3
BMI nearlabel30nn22
AND (dp),Y31nn25
AND (dp)32nn25
AND (sr,S),Y33nn27
BIT dp,X34nn24
AND dp,X35nn24
ROL dp,X36nn26
AND [dp],Y37nn26
SEC 3812
AND addr,Y39nnnn34
DEC A3A12
TSC 3B12
BIT addr,X3Cnnnn34
AND addr,X3Dnnnn34
ROL addr,X3Ennnn37
AND long,X3Fnnnnnn45
4
RTI 4016
EOR (dp,X)41nn26
WDM 42nn20
EOR sr,S43nn24
MVP srcbk, dstbk44nnnn30
EOR dp45nn23
LSR dp46nn25
EOR [dp]47nn26
PHA 4813
EOR #const49nn22
LSR A4A12
PHK 4B13
JMP addr4Cnnnn33
EOR addr4Dnnnn34
LSR addr4Ennnn36
EOR long4Fnnnnnn45
5
BVC nearlabel50nn22
EOR (dp),Y51nn25
EOR (dp)52nn25
EOR (sr,S),Y53nn27
MVN srcbk, dstbk54nnnn30
EOR dp,X55nn24
LSR dp,X56nn26
EOR [dp],Y57nn26
CLI 5812
EOR addr,Y59nnnn34
PHY 5A13
TCD 5B12
JMP long5Cnnnnnn44
EOR addr,X5Dnnnn34
LSR addr,X5Ennnn37
EOR long,X5Fnnnnnn45
6
RTS 6016
ADC (dp,X)61nn26
PER label62nnnn36
ADC sr,S63nn24
STZ dp64nn23
ADC dp65nn23
ROR dp66nn25
ADC [dp]67nn26
PLA 6813
ADC #const69nn22
ROR A6A12
RTL 6B16
JMP (addr)6Cnnnn35
ADC addr6Dnnnn34
ROR addr6Ennnn36
ADC long6Fnnnnnn45
7
BVS nearlabel70nn22
ADC (dp),Y71nn25
ADC (dp)72nn25
ADC (sr,S),Y73nn27
STZ dp,X74nn24
ADC dp,X75nn24
ROR dp,X76nn26
ADC [dp],Y77nn26
SEI 7812
ADC addr,Y79nnnn34
PLY 7A14
TDC 7B12
JMP (addr,X)7Cnnnn36
ADC addr,X7Dnnnn34
ROR addr,X7Ennnn37
ADC long,X7Fnnnnnn45
8
BRA nearlabel80nn23
STA (dp,X)81nn26
BRL label82nnnn34
STA sr,S83nn24
STY dp84nn23
STA dp85nn23
STX dp86nn23
STA [dp]87nn26
DEY 8812
BIT #const89nn22
TXA 8A12
PHB 8B13
STY addr8Cnnnn34
STA addr8Dnnnn34
STX addr8Ennnn34
STA long8Fnnnnnn45
9
BCC nearlabel90nn22
STA (dp),Y91nn25
STA (dp)92nn25
STA (sr,S),Y93nn27
STY dp,X94nn24
STA dp,X95nn24
STX dp,Y96nn24
STA [dp],Y97nn26
TYA 9812
STA addr,Y99nnnn34
TXS 9A12
TXY 9B12
STZ addr9Cnnnn34
STA addr,X9Dnnnn34
STZ addr,X9Ennnn35
STA long,X9Fnnnnnn45
A
LDY #constA0nn22
LDA (dp,X)A1nn26
LDX #constA2nn22
LDA sr,SA3nn24
LDY dpA4nn23
LDA dpA5nn23
LDX dpA6nn23
LDA [dp]A7nn26
TAY A812
LDA #constA9nn22
TAX AA12
PLB AB14
LDY addrACnnnn34
LDA addrADnnnn34
LDX addrAEnnnn34
LDA longAFnnnnnn45
B
BCS nearlabelB0nn22
LDA (dp),YB1nn25
LDA (dp)B2nn25
LDA (sr,S),YB3nn27
LDY dp,XB4nn24
LDA dp,XB5nn24
LDX dp,XB6nn24
LDA [dp],YB7nn26
CLV B812
LDA addr,YB9nnnn34
TSX BA12
TYX BB12
LDY addr,XBCnnnn34
LDA addr,XBDnnnn34
LDX addr,XBEnnnn34
LDA long,XBFnnnnnn45
C
CPY #constC0nn22
CMP (dp,X)C1nn26
REP #constC2nn23
CMP sr,SC3nn24
CPY dpC4nn23
CMP dpC5nn23
DEC dpC6nn25
CMP [dp]C7nn26
INY C812
CMP #constC9nn22
DEX CA12
WAI CB13
CPY addrCCnnnn34
CMP addrCDnnnn34
DEC addrCEnnnn36
CMP longCFnnnnnn45
D
BNE nearlabelD0nn22
CMP (dp),YD1nn25
CMP (dp)D2nn25
CMP (sr,S),YD3nn27
PEI (dp)D4nn26
CMP dp,XD5nn24
DEC dp,XD6nn26
CMP [dp],YD7nn26
CLD D812
CMP addr,YD9nnnn34
PHX DA13
STP DB13
JMP [addr]DCnnnn36
CMP addr,XDDnnnn34
DEC addr,XDEnnnn37
CMP long,XDFnnnnnn45
E
CPX #constE0nn22
SBC (dp,X)E1nn26
SEP #constE2nn23
SBC sr,SE3nn24
CPX dpE4nn23
SBC dpE5nn23
INC dpE6nn25
SBC [dp]E7nn26
INX E812
SBC #constE9nn22
NOP EA12
XBA EB12
CPX addrECnnnn34
SBC addrEDnnnn34
INC addrEEnnnn36
SBC longEFnnnnnn45
F
BEQ nearlabelF0nn22
SBC (dp),YF1nn25
SBC (dp)F2nn25
SBC (sr,S),YF3nn27
PEA addrF4nnnn35
SBC dp,XF5nn24
INC dp,XF6nn26
SBC [dp],YF7nn26
SED F812
SBC addr,YF9nnnn34
PLX FA14
XCE FB12
JSR (addr,X)FCnnnn38
SBC addr,XFDnnnn34
INC addr,XFEnnnn37
SBC long,XFFnnnnnn45
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register Memory Implicit Math Logic Flow Interrupt Special Extension