Welcome to our latest new user RS-232 ! (Registered 2024-10-07)

6502/6510 OpCodes


ADC #$LL,X
Add with Carry
zeropage_x
ADC #$NN
Add with Carry
immediate
ADC $HHLL
Add with Carry
absolute
ADC $HHLL,X
Add with Carry
absolute_x
ADC $HHLL,Y
Add with Carry
absolute_y
ADC $LL
Add with Carry
zeropage
ADC ($LL),Y
Add with Carry
indirect_y
ADC ($LL,X)
Add with Carry
indirect_x
AND #$LL,X
And
zeropage_x
AND #$NN
And
immediate
AND $HHLL
And
absolute
AND $HHLL,X
And
absolute_x
AND $HHLL,Y
And
absolute_y
AND $LL
And
zeropage
AND ($LL),Y
And
indirect_y
AND ($LL,X)
And
indirect_x
ASL
Arithmetical shift left
accumulator
ASL $HHLL
Arithmetical shift left
absolute
ASL $HHLL,X
Arithmetical shift left
absolute_x
ASL $LL
Arithmetical shift left
zeropage
ASL $LL,X
Arithmetical shift left
zeropage_x
BCC $HHLL
Branch on Carry clear
relative
BCS $HHLL
Branch on Carry set
relative
BEQ $HHLL
Branch on equal
relative
BIT $HHLL
Bit test
absolute
BIT $LL
Bit test
zeropage
BMI $HHLL
Branch on minus
relative
BNE $HHLL
Branch on NOT equal
relative
BPL $HHLL
Branch on plus
relative
BRK
Break
implicit
BVC $HHLL
Branch on Overflow clear
relative
BVS $HHLL
Branch on Overflow set
relative
CLC
Clear Carry
implicit
CLD
Clear Decimal
implicit
CLI
Clear Interrupt
implicit
CLV
Clear Overflow
implicit
CMP #$NN
Compare
immediate
CMP $HHLL
Compare
absolute
CMP $HHLL,X
Compare
absolute_x
CMP $HHLL,Y
Compare
absolute_y
CMP $LL
Compare
zeropage
CMP $LL,X
Compare
zeropage_x
CMP ($LL),Y
Compare
indirect_y
CMP ($LL,X)
Compare
indirect_x
CPX #$NN
Compare X
immediate
CPX $HHLL
Compare X
absolute
CPX $LL
Compare X
zeropage
CPY #$NN
Compare Y
immediate
CPY $HHLL
Compare Y
absolute
CPY $LL
Compare Y
zeropage
DEC $HHLL
Decrement
absolute
DEC $HHLL,X
Decrement
absolute_x
DEC $LL
Decrement
zeropage
DEC $LL,X
Decrement
zeropage_x
DEX
Decrement X
implicit
DEY
Decrement Y
implicit
EOR #$LL,X
Exclusive OR
zeropage_x
EOR #$NN
Exclusive OR
immediate
EOR $HHLL
Exclusive OR
absolute
EOR $HHLL,X
Exclusive OR
absolute_x
EOR $HHLL,Y
Exclusive OR
absolute_y
EOR $LL
Exclusive OR
zeropage
EOR ($LL),Y
Exclusive OR
indirect_y
EOR ($LL,X)
Exclusive OR
indirect_x
INC $HHLL
Increment
absolute
INC $HHLL,Y
Increment
absolute_x
INC $LL
Increment
zeropage
INC $LL,X
Increment
zeropage_x
INX
Increment X
implicit
INY
Increment Y
implicit
JMP $HHLL
Jump
absolute
JMP ($HHLL)
Jump
indirect
JSR $HHLL
Jump to subroutine
implicit
LDA #$LL,X
Load Accumulator
zeropage_x
LDA #$NN
Load Accumulator
immediate
LDA $HHLL
Load Accumulator
absolute
LDA $HHLL,X
Load Accumulator
absolute_x
LDA $HHLL,Y
Load Accumulator
absolute_y
LDA $LL
Load Accumulator
zeropage
LDA ($LL),Y
Load Accumulator
indirect_y
LDA ($LL,X)
Load Accumulator
indirect_x
LDX #$NN
Load register X
immediate
LDX $HHLL
Load register X
absolute
LDX $HHLL,Y
Load register X
absolute_y
LDX $LL
Load register X
zeropage
LDX $LL,X
Load register X
zeropage_y
LDY #$NN
Load register Y
immediate
LDY $HHLL
Load register Y
absolute
LDY $HHLL,Y
Load register Y
absolute_x
LDY $LL
Load register Y
zeropage
LDY $LL,X
Load register Y
zeropage_x
LSR
Arithmetical shift right
accumulator
LSR $HHLL
Arithmetical shift right
absolute
LSR $HHLL,X
Arithmetical shift right
absolute_x
LSR $LL
Arithmetical shift right
zeropage
LSR $LL,X
Arithmetical shift right
zeropage_x
NOP
No operation
relative
ORA #$LL,X
OR Accumulator
zeropage_x
ORA #$NN
OR Accumulator
immediate
ORA $HHLL
OR Accumulator
absolute
ORA $HHLL,X
OR Accumulator
absolute_x
ORA $HHLL,Y
OR Accumulator
absolute_y
ORA $LL
OR Accumulator
zeropage
ORA ($LL),Y
OR Accumulator
indirect_y
ORA ($LL,X)
OR Accumulator
indirect_x
PHA
Push Accumulator
implicit
PHP
Push processor status
implicit
PLA
Pull Accumulator
implicit
PLP
Pull processor status
implicit
ROL
Rotate left
accumulator
ROL $HHLL
Rotate left
absolute
ROL $HHLL,X
Rotate left
absolute_x
ROL $LL
Rotate left
zeropage
ROL $LL,X
Rotate left
zeropage_x
ROR
Rotate right
accumulator
ROR $HHLL
Rotate right
absolute
ROR $HHLL,X
Rotate right
absolute_x
ROR $LL
Rotate right
zeropage
ROR $LL,X
Rotate right
zeropage_x
RTI
Return from interrupt
implicit
RTS
Return from subroutine
implicit
SBC #$LL,X
Subtract with Carry
zeropage_x
SBC #$NN
Subtract with Carry
immediate
SBC $HHLL
Subtract with Carry
absolute
SBC $HHLL,X
Subtract with Carry
absolute_x
SBC $HHLL,Y
Subtract with Carry
absolute_y
SBC $LL
Subtract with Carry
zeropage
SBC ($LL),Y
Subtract with Carry
indirect_y
SBC ($LL,X)
Subtract with Carry
indirect_x
SEC
Set Carry
implicit
SED
Set Decimal
implicit
SEI
Set Interrupt
implicit
STA #$LL,X
Store Accumulator
zeropage_x
STA $HHLL
Store Accumulator
absolute
STA $HHLL,X
Store Accumulator
absolute_x
STA $HHLL,Y
Store Accumulator
absolute_y
STA $LL
Store Accumulator
zeropage
STA ($LL),Y
Store Accumulator
indirect_y
STA ($LL,X)
Store Accumulator
indirect_x
STX #$LL,Y
Store register X
zeropage_y
STX $HHLL
Store register X
absolute
STX $LL
Store register X
zeropage
STY #$LL,X
Store register Y
zeropage_y
STY $HHLL
Store register Y
absolute
STY $LL
Store register Y
zeropage
TAX
Transfer Accumulator to register X
implicit
TAY
Transfer Accumulator to register Y
implicit
TSX
Transfer Stackpointer to register X
implicit
TXA
Transfer Stackpointer to Accumulator
implicit
TXS
Transfer register X to Stackpointer
implicit
TYA
Transfer register Y to Stackpointer
implicit