Register to Memory Instructions | |
---|---|
LDA | STA |
LDX | STX |
LDY | STY |
Compare Instructions |
---|
CMP |
CPX |
CPY |
Branching | |
---|---|
BEQ | BNE |
BCC | BCS |
BMI | BPL |
BVC | BVS |
Shift and Rotate Instructions | |
---|---|
ASL | LSR |
ROL | ROR |
Jump and Return Instructions | |
---|---|
JSR | RTS |
JMP | |
RTI |
Counter Instructions | |
---|---|
INC | DEC |
INX | DEX |
INY | DEY |
Arithmetic and Logic Instructions | |
---|---|
ADC | SBC |
BIT | AND |
ORA | EOR |
Register Transfer Instructions | |
---|---|
TAX | TXA |
TAY | TYA |
TSX | TXS |
Set and Clear Instructions | |
---|---|
CLC | SEC |
CLD | SED |
CLI | SEI |
CLV |
Stack Instructions | |
---|---|
PHA | PLA |
PHP | PLP |
Misc Instructions | |
---|---|
NOP | BRK |
Mode | Syntax | Hex | Length | Time |
---|---|---|---|---|
Immediate | LDA #$44 | $A9 | 2 | 2 |
Zero Page | LDA $44 | $A5 | 2 | 3 |
Zero Page,X | LDA $44,X | $B5 | 2 | 4 |
Absolute | LDA $4400 | $AD | 3 | 4 |
Absolute,X | LDA $4400,X | $BD | 3 | 4+ |
Absolute,Y | LDA $4400,Y | $B9 | 3 | 4+ |
Indirect,X | LDA ($44,X) | $A1 | 2 | 6 |
Indirect,Y | LDA ($44),Y | $B1 | 2 | 5+ |