HuC6280 opcode matrix

x0x1x2x3x4x5x6x7 x8x9xAxBxCxDxExF
0x BRK
ORA
ix
SXY
ST0
im
TSB
zp
ORA
zp
ASL
zp
RMB0
zp
PHP
ORA
im
ASL

TSB
ab
ORA
ab
ASL
ab
BBR0
zprel
1x BPL
rel
ORA
iy
ORA
zpind
ST1
im
TRB
zp
ORA
zpx
ASL
zpx
RMB1
zp
CLC
ORA
aby
INC

TRB
ab
ORA
abx
ASL
abx
BBR1
zprel
2x JSR
ab
AND
ix
SAX
ST2
im
BIT
zp
AND
zp
ROL
zp
RMB2
zp
PLP
AND
im
ROL

BIT
ab
AND
ab
ROL
ab
BBR2
zprel
3x BMI
rel
AND
iy
AND
zpind

BIT
zpx
AND
zpx
ROL
zpx
RMB3
zp
SEC
AND
aby
DEC

BIT
abx
AND
abx
ROL
abx
BBR3
zprel
4x RTI
EOR
ix
SAY
TMA
im
BSR
rel
EOR
zp
LSR
zp
RMB4
zp
PHA
EOR
im
LSR

JMP
ab
EOR
ab
LSR
ab
BBR4
zprel
5x BVC
rel
EOR
iy
EOR
zpind
TAM
im
CSL
EOR
zpx
LSR
zpx
RMB5
zp
CLI
EOR
aby
PHY


EOR
abx
LSR
abx
BBR5
zprel
6x RTS
ADC
ix
CLA

STZ
zp
ADC
zp
ROR
zp
RMB6
zp
PLA
ADC
im
ROR

JMP
abind
ADC
ab
ROR
ab
BBR6
zprel
7x BVS
rel
ADC
iy
ADC
zpind
TII
blk
STZ
zpx
ADC
zpx
ROR
zpx
RMB7
zp
SEI
ADC
aby
PLY

JMP
abindx
ADC
abx
ROR
abx
BBR7
zprel
8x BRA
rel
STA
ix
CLX
TST
imzp
STY
zp
STA
zp
STX
zp
SMB0
zp
DEY
BIT
im
TXA

STY
ab
STA
ab
STX
ab
BBS0
zprel
9x BCC
rel
STA
iy
STA
zpind
TST
imab
STY
zpx
STA
zpx
STX
zpy
SMB1
zp
TYA
STA
aby
TXS

STZ
ab
STA
abx
STZ
abx
BBS1
zprel
Ax LDY
im
LDA
ix
LDX
im
TST
imzpx
LDY
zp
LDA
zp
LDX
zp
SMB2
zp
TAY
LDA
im
TAX

LDY
ab
LDA
ab
LDX
ab
BBS2
zprel
Bx BCS
rel
LDA
iy
LDA
zpind
TST
imabx
LDY
zpx
LDA
zpx
LDX
zpy
SMB3
zp
CLV
LDA
aby
TSX

LDY
abx
LDA
abx
LDX
aby
BBS3
zprel
Cx CPY
im
CMP
ix
CLY
TDD
blk
CPY
zp
CMP
zp
DEC
zp
SMB4
zp
INY
CMP
im
DEX

CPY
ab
CMP
ab
DEC
ab
BBS4
zprel
Dx BNE
rel
CMP
iy
CMP
zpind
TIN
blk
CSH
CMP
zpx
DEC
zpx
SMB5
zp
CLD
CMP
aby
PHX


CMP
abx
DEC
abx
BBS5
zprel
Ex CPX
im
SBC
ix

TIA
blk
CPX
zp
SBC
zp
INC
zp
SMB6
zp
INX
SBC
im
NOP

CPX
ab
SBC
ab
INC
ab
BBS6
zprel
Fx BEQ
rel
SBC
iy
SBC
zpind
TAI
blk
SET
SBC
zpx
INC
zpx
SMB7
zp
SED
SBC
aby
PLX


SBC
abx
INC
abx
BBS7
zprel

Back