ADC#$NN = $69 ADC$NNNN = $6d ADC$NNNN,X = $7d ADC$NNNN,Y = $79 ADC$NN = $65 ADC$NN,X = $75 ADC($NN,X) = $61 ADC($NN),Y = $71 AND#$NN = $29 AND$NNNN = $2d AND$NNNN,X = $3d AND$NNNN,Y = $39 AND$NN = $25 AND$NN,X = $35 AND($NN,X) = $21 AND($NN),Y = $31 ASLA = $0a ASL$NNNN = $0e ASL$NNNN,X = $1e ASL$NN = $06 ASL$NN,X = $16 BCC$NN = $90 BCS$NN = $b0 BEQ$NN = $f0 BIT$NNNN = $2c BIT$NN = $24 BMI$NN = $30 BNE$NN = $d0 BPL$NN = $10 BRK = $00 BVC$NN = $50 BVS$NN = $70 CLC = $18 CLD = $d8 CLI = $58 CLV = $b8 CMP#$NN = $c9 CMP$NNNN = $cd CMP$NNNN,X = $dd CMP$NNNN,Y = $d9 CMP$NN = $c5 CMP$NN,X = $d5 CMP($NN,X) = $c1 CMP($NN),Y = $d1 CPX#$NN = $e0 CPX$NNNN = $ec CPX$NN = $e4 CPY#$NN = $c0 CPY$NNNN = $cc CPY$NN = $c4 DEC$NNNN = $ce DEC$NNNN,X = $de DEC$NN = $c6 DEC$NN,X = $d6 DEX = $ca DEY = $88 EOR#$NN = $49 EOR$NNNN = $4d EOR$NNNN,X = $5d EOR$NNNN,Y = $59 EOR$NN = $45 EOR$NN,X = $55 EOR($NN,X) = $41 EOR($NN),Y = $51 INC$NNNN = $ee INC$NNNN,X = $fe INC$NN = $e6 INC$NN,X = $f6 INX = $e8 INY = $c8 JMP$NNNN = $4c JMP$NN = $6c JSR$NNNN = $20 LDA#$NN = $a9 LDA$NNNN = $ad LDA$NNNN,X = $bd LDA$NNNN,Y = $b9 LDA$NN = $a5 LDA$NN,X = $b5 LDA($NN,X) = $a1 LDA($NN),Y = $b1 LDX#$NN = $a2 LDX$NNNN = $ae LDX$NNNN,Y = $be LDX$NN = $a6 LDX$NN,Y = $b6 LDY#$NN = $a0 LDY$NNNN = $ac LDY$NNNN,X = $bc LDY$NN = $a4 LDY$NN,X = $b4 LSRA = $4a LSR$NNNN = $4e LSR$NNNN,X = $5e LSR$NN = $46 LSR$NN,X = $56 NOP = $ea ORA#$NN = $09 ORA$NNNN = $0d ORA$NNNN,X = $1d ORA$NNNN,Y = $19 ORA$NN = $05 ORA$NN,X = $15 ORA($NN,X) = $01 ORA($NN),Y = $11 PHA = $48 PHP = $08 PLA = $68 PLP = $28 ROLA = $2a ROL$NNNN = $2e ROL$NNNN,X = $3e ROL$NN = $26 ROL$NN,X = $36 RORA = $6a ROR$NNNN = $7e ROR$NNNN,X = $6e ROR$NN = $66 ROR$NN,X = $76 RTI = $40 RTS = $60 SBC#$NN = $e9 SBC$NNNN = $ed SBC$NNNN,X = $fd SBC$NNNN,Y = $f9 SBC$NN = $e5 SBC$NN,X = $f5 SBC($NN,X) = $e1 SBC($NN),Y = $f1 SEC = $38 SED = $f8 SEI = $78 STA$NNNN = $8d STA$NNNN,X = $9d STA$NNNN,Y = $99 STA$NN = $85 STA$NN,X = $95 STA($NN,X) = $81 STA($NN),Y = $91 STX$NNNN = $8e STX$NN = $86 STX$NN,Y = $96 STY$NNNN = $8c STY$NN = $84 STY$NN,X = $94 TAX = $aa TAY = $a8 TSX = $ba TXA = $8a TXS = $9a TYA = $98
Opcode imp imm zp zpx zpy izx izy abs abx aby ind rel ORA --- $09 $05 $15 --- $01 $11 $0D $1D $19 --- --- AND --- $29 $25 $35 --- $21 $31 $2D $3D $39 --- --- EOR --- $49 $45 $55 --- $41 $51 $4D $5D $59 --- --- ADC --- $69 $65 $75 --- $61 $71 $6D $7D $79 --- --- SBC --- $E9 $E5 $F5 --- $E1 $F1 $ED $FD $F9 --- --- CMP --- $C9 $C5 $D5 --- $C1 $D1 $CD $DD $D9 --- --- CPX --- $E0 $E4 --- --- --- --- $EC --- --- --- --- CPY --- $C0 $C4 --- --- --- --- $CC --- --- --- --- DEC --- --- $C6 $D6 --- --- --- $CE $DE --- --- --- DEX $CA --- --- --- --- --- --- --- --- --- --- --- DEY $88 --- --- --- --- --- --- --- --- --- --- --- INC --- --- $E6 $F6 --- --- --- $EE $FE --- --- --- INX $E8 --- --- --- --- --- --- --- --- --- --- --- INY $C8 --- --- --- --- --- --- --- --- --- --- --- ASL $0A --- $06 $16 --- --- --- $0E $1E --- --- --- ROL $2A --- $26 $36 --- --- --- $2E $3E --- --- --- LSR $4A --- $46 $56 --- --- --- $4E $5E --- --- --- ROR $6A --- $66 $76 --- --- --- $6E $7E --- --- --- LDA --- $A9 $A5 $B5 --- $A1 $B1 $AD $BD $B9 --- --- STA --- --- $85 $95 --- $81 $91 $8D $9D $99 --- --- LDX --- $A2 $A6 --- $B6 --- --- $AE --- $BE --- --- STX --- --- $86 --- $96 --- --- $8E --- --- --- --- LDY --- $A0 $A4 $B4 --- --- --- $AC $BC --- --- --- STY --- --- $84 $94 --- --- --- $8C --- --- --- --- TAX $AA --- --- --- --- --- --- --- --- --- --- --- TXA $8A --- --- --- --- --- --- --- --- --- --- --- TAY $A8 --- --- --- --- --- --- --- --- --- --- --- TYA $98 --- --- --- --- --- --- --- --- --- --- --- TSX $BA --- --- --- --- --- --- --- --- --- --- --- TXS $9A --- --- --- --- --- --- --- --- --- --- --- PLA $68 --- --- --- --- --- --- --- --- --- --- --- PHA $48 --- --- --- --- --- --- --- --- --- --- --- PLP $28 --- --- --- --- --- --- --- --- --- --- --- PHP $08 --- --- --- --- --- --- --- --- --- --- --- BPL --- --- --- --- --- --- --- --- --- --- --- $10 BMI --- --- --- --- --- --- --- --- --- --- --- $30 BVC --- --- --- --- --- --- --- --- --- --- --- $50 BVS --- --- --- --- --- --- --- --- --- --- --- $70 BCC --- --- --- --- --- --- --- --- --- --- --- $90 BCS --- --- --- --- --- --- --- --- --- --- --- $B0 BNE --- --- --- --- --- --- --- --- --- --- --- $D0 BEQ --- --- --- --- --- --- --- --- --- --- --- $F0 BRK $00 --- --- --- --- --- --- --- --- --- --- --- RTI $40 --- --- --- --- --- --- --- --- --- --- --- JSR --- --- --- --- --- --- --- $20 --- --- --- --- RTS $60 --- --- --- --- --- --- --- --- --- --- --- JMP --- --- --- --- --- --- --- $4C --- --- $6C --- BIT --- --- $24 --- --- --- --- $2C --- --- --- --- CLC $18 --- --- --- --- --- --- --- --- --- --- --- SEC $38 --- --- --- --- --- --- --- --- --- --- --- CLD $D8 --- --- --- --- --- --- --- --- --- --- --- SED $F8 --- --- --- --- --- --- --- --- --- --- --- CLI $58 --- --- --- --- --- --- --- --- --- --- --- SEI $78 --- --- --- --- --- --- --- --- --- --- --- CLV $B8 --- --- --- --- --- --- --- --- --- --- --- NOP $EA --- --- --- --- --- --- --- --- --- --- ---
lda #RTS sta target
BRK = $00 ORA_(zp,X) = $01 HALT = $02 ASL-ORA_(zp,X) = $03 NOP_zp = $04 ORA_zp = $05 ASL_zp = $06 ASL-ORA_zp = $07 PHP = $08 ORA_#n = $09 ASL_A = $0A AND_#n/MOV_b7->Cy = $0B NOP_abs = $0C ORA_abs = $0D ASL_abs = $0E ASL-ORA_abs = $0F BPL_rel = $10 ORA_(zp),Y = $11 HALT = $12 ASL-ORA_(zp),Y = $13 NOP_zp = $14 ORA_zp,X = $15 ASL_zp,X = $16 ASL-ORA_abs,X = $17 CLC = $18 ORA_abs,Y = $19 NOP = $1A ASL-ORA_abs,Y = $1B NOP_abs = $1C ORA_abs,X = $1D ASL_abs,X = $1E ASL-ORA_abs,X = $1F JSR_abs = $20 AND_(zp,X) = $21 HALT = $22 ROL-AND_(zp,X) = $23 BIT_zp = $24 AND_zp = $25 ROL_zp = $26 ROL-AND_zp = $27 PLP = $28 AND_#n = $29 ROL_A = $2A AND_#n-MOV_b7->Cy___- = $2B BIT_abs = $2C AND_abs = $2D ROL_abs = $2E ROL-AND_abs = $2F BMI_rel = $30 AND_(zp),Y = $31 HALT = $32 ROL-AND_(zp),Y = $33 NOP_zp = $34 AND_zp,X = $35 ROL_zp,X = $36 ROL-AND_zp,X = $37 SEC = $38 AND_abs,Y = $39 NOP = $3A ROL-AND_abs,Y = $3B NOP_abs = $3C ORA_abs,X = $3D ASL_abs,X = $3E ROL-AND_abs,X = $3F RTI = $40 EOR_(zp,X) = $41 HALT = $42 LSR-EOR_(zp,X) = $43 NOP_zp = $44 EOR_zp = $45 LSR_zp = $46 LSR-EOR_zp = $47 PHA = $48 EOR_#n = $49 LSR_A = $4A AND_#n-LSR_A = $4B JMP_abs = $4C EOR_abs = $4D LSR_abs = $4E LSR-EOR_abs = $4F BVC_rel = $50 EOR_(zp),Y = $51 HALT = $52 LSR-EOR_(zp),Y = $53 NOP_zp = $54 EOR_zp,X = $55 LSR_zp,X = $56 LSR-EOR_abs,X = $57 CLI = $58 EOR_abs,Y = $59 NOP = $5A LSR-EOR_abs,Y = $5B NOP_abs = $5C EOR_abs,X = $5D LSR_abs,X = $5E LSR-EOR_abs,X = $5F RTS = $60 ADC_(zp,X) = $61 HALT = $62 ROR-ADC_(zp,X) = $63 NOP_zp = $64 ADC_zp = $65 ROR_zp = $66 ROR-ADC_zp = $67 PLA = $68 ADC_#n = $69 ROR_A = $6A AND_#n-ROR_A = $6B JMP_(abs) = $6C ADC_abs = $6D ROR_abs = $6E ROR-ADC_abs = $6F BVS_rel = $70 ADC_(zp),Y = $71 HALT = $72 ROR-ADC_(zp),Y = $73 NOP_zp = $74 ADC_zp,X = $75 ROR_zp,X = $76 ROR-ADC_abs,X = $77 SEI = $78 ADC_abs,Y = $79 NOP = $7A ROR-ADC_abs,Y = $7B NOP_abs = $7C ADC_abs,X = $7D ROR_abs,X = $7E ROR-ADC_abs,X = $7F NOP_zp = $80 STA_(zp,X) = $81 HALT = $82 STA-STX_(zp,X) = $83 STY_zp = $84 STA_zp = $85 STX_zp = $86 STA-STX_zp = $87 DEY = $88 NOP_zp = $89 TXA = $8A TXA-AND_#n = $8B STY_abs = $8C STA_abs = $8D STX_abs = $8E STA-STX_abs = $8F BCC_rel = $90 STA_(zp),Y = $91 HALT = $92 STA-STX_(zp),Y = $93 STY_zp = $94 STA_zp,X = $95 STX_zp,Y = $96 STA-STX_zp,Y = $97 TYA = $98 STA_abs,Y = $99 TXS = $9A STA-STX_abs,Y = $9B STA-STX_abs,X = $9C STA_abs,X = $9D STA-STX_abs,X = $9E STA-STX_abs,X = $9F LDY_#n = $A0 LDA_(zp,X) = $A1 LDX_#n = $A2 LDA-LDX_(zp,X) = $A3 LDY_zp = $A4 LDA_zp = $A5 LDX_zp = $A6 LDA-LDX_zp = $A7 TAY = $A8 LDA_#n = $A9 TAX = $AA LDA-LDX = $AB LDY_abs = $AC LDA_abs = $AD LDX_abs = $AE LDA-LDX_abs = $AF BCS_rel = $B0 LDA_(zp),Y = $B1 HALT = $B2 LDA-LDX_(zp),Y = $B3 LDY_zp = $B4 LDA_zp,X = $B5 LDX_zp,Y = $B6 LDA-LDX_zp,Y = $B7 CLV = $B8 LDA_abs,Y = $B9 TSX = $BA LDA-LDX_abs,Y = $BB LDY_abs,X = $BC LDA_abs,X = $BD LDX_abs,Y = $BE LDA-LDX_abs,Y = $BF CPY_#n = $C0 CMP_(zp,X) = $C1 HALT = $C2 DEC-CMP_(zp,X) = $C3 CPY_zp = $C4 CMP_zp = $C5 DEC_zp = $C6 DEC-CMP_zp = $C7 INY = $C8 CMP_#n = $C9 DEX = $CA SBX_#n = $CB CPY_abs = $CC CMP_abs = $CD DEC_abs = $CE DEC-CMP_abs = $CF BNE_rel = $D0 CMP_(zp),Y = $D1 HALT = $D2 DEC-CMP_(zp),Y = $D3 NOP_zp = $D4 CMP_zp,X = $D5 DEC_zp,X = $D6 DEC-CMP_zp,X = $D7 CLD = $D8 CMP_abs,Y = $D9 NOP = $DA DEC-CMP_abs,Y = $DB NOP_abs = $DC CMP_abs,X = $DD DEC_abs,X = $DE DEC-CMP_abs,X = $DF CPX_#n = $E0 SBC_(zp,X) = $E1 HALT = $E2 INC-SBC_(zp,X) = $E3 CPX_zp = $E4 SBC_zp = $E5 INC_zp = $E6 INC-SBC_zp = $E7 INX = $E8 SBC_#n = $E9 NOP = $EA SBC_#n = $EB CPX_abs = $EC SBC_abs = $ED INC_abs = $EE INC-SBC_abs = $EF BEQ_rel = $F0 SBC_(zp),Y = $F1 HALT = $F2 INC-SBC_(zp),Y = $F3 NOP_zp = $F4 SBC_zp,X = $F5 INC_zp,X = $F6 INC-SBC_zp,X = $F7 SED = $F8 SBC_abs,Y = $F9 NOP = $FA INC-SBC_abs,Y = $FB NOP_abs = $FC SBC_abs,X = $FD INC_abs,X = $FE INC-SBC_abs,X = $FF