UTTORI ASM ยท IN DEVELOPMENT
65816 instruction catalog
Browse accepted 65816 instruction catalog mnemonics and addressing forms.
| Mnemonic | What it does | Accepted operand forms |
|---|---|---|
ADC |
Add with carry to the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
AND |
Bitwise AND with the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
ASL |
Arithmetic shift left. | a, dp, dp,x, addr, addr,x |
BCC |
Branch if carry clear. | label |
BCS |
Branch if carry set. | label |
BEQ |
Branch if equal (zero set). | label |
BIT |
Test bits against the accumulator. | #const, dp, dp,x, addr, addr,x |
BMI |
Branch if minus (negative set). | label |
BNE |
Branch if not equal (zero clear). | label |
BPL |
Branch if plus (negative clear). | label |
BRA |
Branch always. | label |
BRK |
Software break / interrupt. | implied |
BRL |
Branch always long (16-bit relative). | label |
BVC |
Branch if overflow clear. | label |
BVS |
Branch if overflow set. | label |
CLC |
Clear carry flag. | implied |
CLD |
Clear decimal flag. | implied |
CLI |
Clear interrupt-disable flag. | implied |
CLV |
Clear overflow flag. | implied |
CMP |
Compare with the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
COP |
Coprocessor enable interrupt. | #const |
CPX |
Compare with the X register. | #const, dp, addr |
CPY |
Compare with the Y register. | #const, dp, addr |
DEC |
Decrement memory or the accumulator. | a, dp, dp,x, addr, addr,x |
DEX |
Decrement the X register. | implied |
DEY |
Decrement the Y register. | implied |
EOR |
Bitwise exclusive-OR with the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
INC |
Increment memory or the accumulator. | a, dp, dp,x, addr, addr,x |
INX |
Increment the X register. | implied |
INY |
Increment the Y register. | implied |
JML |
Jump long (24-bit). | long, [addr] |
JMP |
Jump. | addr, (addr), (addr,x) |
JSL |
Jump to subroutine long. | long |
JSR |
Jump to subroutine. | addr, (addr,x) |
LDA |
Load the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
LDX |
Load the X register. | #const, dp, dp,y, addr, addr,y |
LDY |
Load the Y register. | #const, dp, dp,x, addr, addr,x |
LSR |
Logical shift right. | a, dp, dp,x, addr, addr,x |
MVN |
Block move next (ascending). | destBank,srcBank |
MVP |
Block move previous (descending). | destBank,srcBank |
NOP |
No operation. | implied |
ORA |
Bitwise OR with the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
PEA |
Push effective absolute address. | addr |
PEI |
Push effective indirect address. | (dp) |
PER |
Push effective PC-relative address. | label |
PHA |
Push the accumulator. | implied |
PHB |
Push the data bank register. | implied |
PHD |
Push the direct page register. | implied |
PHK |
Push the program bank register. | implied |
PHP |
Push the processor status register. | implied |
PHX |
Push the X register. | implied |
PHY |
Push the Y register. | implied |
PLA |
Pull the accumulator. | implied |
PLB |
Pull the data bank register. | implied |
PLD |
Pull the direct page register. | implied |
PLP |
Pull the processor status register. | implied |
PLX |
Pull the X register. | implied |
PLY |
Pull the Y register. | implied |
REP |
Reset status bits. | #const |
ROL |
Rotate left through carry. | a, dp, dp,x, addr, addr,x |
ROR |
Rotate right through carry. | a, dp, dp,x, addr, addr,x |
RTI |
Return from interrupt. | implied |
RTL |
Return from subroutine long. | implied |
RTS |
Return from subroutine. | implied |
SBC |
Subtract with borrow from the accumulator. | #const, dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
SEC |
Set carry flag. | implied |
SED |
Set decimal flag. | implied |
SEI |
Set interrupt-disable flag. | implied |
SEP |
Set status bits. | #const |
STA |
Store the accumulator. | dp, dp,x, (dp), [dp], (dp,x), (dp),y, [dp],y, addr, addr,x, addr,y, long, long,x, sr,s, (sr,s),y |
STP |
Stop the processor. | implied |
STX |
Store the X register. | dp, dp,y, addr |
STY |
Store the Y register. | dp, dp,x, addr |
STZ |
Store zero to memory. | dp, dp,x, addr, addr,x |
TRB |
Test accumulator bits and reset them in memory. | dp, addr |
TSB |
Test accumulator bits and set them in memory. | dp, addr |
TAX |
Transfer accumulator to X. | implied |
TAY |
Transfer accumulator to Y. | implied |
TCD |
Transfer accumulator to direct page register. | implied |
TCS |
Transfer accumulator to stack pointer. | implied |
TDC |
Transfer direct page register to accumulator. | implied |
TSC |
Transfer stack pointer to accumulator. | implied |
TSX |
Transfer stack pointer to X. | implied |
TXA |
Transfer X to accumulator. | implied |
TXS |
Transfer X to stack pointer. | implied |
TXY |
Transfer X to Y. | implied |
TYA |
Transfer Y to accumulator. | implied |
TYX |
Transfer Y to X. | implied |
WAI |
Wait for interrupt. | implied |
WDM |
Reserved (William D. Mensch) opcode. | #const |
XBA |
Exchange the bytes of the accumulator. | implied |
XCE |
Exchange carry and emulation flags. | implied |