Topics

UTTORI ASM ยท IN DEVELOPMENT

6502 instruction catalog

Browse accepted 6502 instruction catalog mnemonics and addressing forms.

56 mnemonics, 154 assembly forms. 151 documented opcodes plus BRK signature extensions.

Mnemonic What it does Accepted operand forms
ADC Add memory to the accumulator with carry. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
AND Bitwise AND memory with the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
ASL Shift left one bit. A, zp, zp,x, addr, addr,x
BCC Branch when carry is clear. target
BCS Branch when carry is set. target
BEQ Branch when equal (zero set). target
BIT Test accumulator bits without storing a result. zp, addr
BMI Branch when negative. target
BNE Branch when not equal (zero clear). target
BPL Branch when positive. target
BRK Trigger a software interrupt. implied, #value, zp, addr
BVC Branch when overflow is clear. target
BVS Branch when overflow is set. target
CLC Clear carry. implied
CLD Clear decimal. implied
CLI Clear interrupt-disable. implied
CLV Clear overflow. implied
CMP Compare memory with the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
CPX Compare memory with X. #value, zp, addr
CPY Compare memory with Y. #value, zp, addr
DEC Decrement memory. zp, zp,x, addr, addr,x
DEX Decrement X. implied
DEY Decrement Y. implied
EOR Exclusive-OR memory with the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
INC Increment memory. zp, zp,x, addr, addr,x
INX Increment X. implied
INY Increment Y. implied
JMP Jump to an address. addr, (addr)
JSR Call a subroutine. addr
LDA Load the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
LDX Load X. #value, zp, zp,y, addr, addr,y
LDY Load Y. #value, zp, zp,x, addr, addr,x
LSR Logical shift right. A, zp, zp,x, addr, addr,x
NOP Perform no operation. implied
ORA Bitwise OR memory with the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
PHA Push the accumulator. implied
PHP Push the processor status. implied
PLA Pull the accumulator. implied
PLP Pull the processor status. implied
ROL Rotate left through carry. A, zp, zp,x, addr, addr,x
ROR Rotate right through carry. A, zp, zp,x, addr, addr,x
RTI Return from interrupt. implied
RTS Return from subroutine. implied
SBC Subtract memory and borrow from the accumulator. #value, zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
SEC Set carry. implied
SED Set decimal. implied
SEI Set interrupt-disable. implied
STA Store the accumulator. zp, zp,x, addr, addr,x, addr,y, (zp,x), (zp),y
STX Store X. zp, zp,y, addr
STY Store Y. zp, zp,x, addr
TAX Transfer accumulator to X. implied
TAY Transfer accumulator to Y. implied
TSX Transfer stack pointer to X. implied
TXA Transfer X to accumulator. implied
TXS Transfer X to stack pointer. implied
TYA Transfer Y to accumulator. implied