mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-23 07:30:31 +00:00
Assign a separate identifier for all invalid nops.
This commit is contained in:
parent
52ce9bff8c
commit
380b524a51
@ -1,7 +1,7 @@
|
||||
OP_BRK,"brk",IMPLIED,1,NULL
|
||||
OP_ORA_IZPX,"ora",IZPX,1,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_3,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_4,"nop",IMPLIED,1,NULL
|
||||
OP_TSB_ZP,"tsb",ZP,2,NULL
|
||||
OP_ORA_ZP,"ora",ZP,2,NULL
|
||||
OP_ASL_ZP,"asl",ZP,2,NULL
|
||||
@ -9,7 +9,7 @@ OP_RMB0_ZP,"rmb0",ZP,2,NULL
|
||||
OP_PHP,"php",IMPLIED,1,NULL
|
||||
OP_ORA_IMM,"ora",IMMEDIATE,2,NULL
|
||||
OP_ASL,"asl",ACCUMULATOR,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_C,"nop",IMPLIED,1,NULL
|
||||
OP_TSB_ABS,"tsb",ABSOLUTE,3,NULL
|
||||
OP_ORA_ABS,"abs",ABSOLUTE,3,NULL
|
||||
OP_ASL_ABS,"asl",ABSOLUTE,3,NULL
|
||||
@ -17,7 +17,7 @@ OP_BBR0_REL,"bbr0",RELATIVE,2,NULL
|
||||
OP_BPL_REL,"bpl",RELATIVE,2,NULL
|
||||
OP_ORA_IZPY,"ora",IZPY,2,NULL
|
||||
OP_ORA_IZP,"ora",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_14,"nop",IMPLIED,1,NULL
|
||||
OP_TRB_ZP,"trb",ZP,2,NULL
|
||||
OP_ORA_ZPX,"ora",ZPX,2,NULL
|
||||
OP_ASL_ZPX,"asl",ZPX,2,NULL
|
||||
@ -25,15 +25,15 @@ OP_RMB1_ZP,"rmb1",ZP,1,NULL
|
||||
OP_CLC,"clc",IMPLIED,1,NULL
|
||||
OP_ORA_ABSY,"ora",ABSOLUTEY,3,NULL
|
||||
OP_INC,"inc",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_1C,"nop",IMPLIED,1,NULL
|
||||
OP_TRB_ABS,"trb",ABSOLUTE,3,NULL
|
||||
OP_ORA_ABSX,"ora",ABSOLUTEX,3,NULL
|
||||
OP_ASL_ABSX,"asl",ABSOLUTEX,3,NULL
|
||||
OP_BBR1_REL,"bbr1",RELATIVE,2,NULL
|
||||
OP_JSR,"jsr",ABSOLUTE,3,NULL
|
||||
OP_AND_IZPX,"and",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_23,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_24,"nop",IMPLIED,1,NULL
|
||||
OP_BIT_ZP,"bit",ZP,2,NULL
|
||||
OP_AND_ZP,"and",ZP,2,NULL
|
||||
OP_ROL_ZP,"rol",ZP,2,NULL
|
||||
@ -41,7 +41,7 @@ OP_RMB2_ZP,"rmb2",ZP,2,NULL
|
||||
OP_PLP,"plp",IMPLIED,1,NULL
|
||||
OP_AND_IMM,"and",IMMEDIATE,2,NULL
|
||||
OP_ROL,"rol",ACCUMULATOR,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_2C,"nop",IMPLIED,1,NULL
|
||||
OP_BIT_ABS,"bit",ABSOLUTE,3,NULL
|
||||
OP_AND_ABS,"and",ABSOLUTE,3,NULL
|
||||
OP_ROL_ABS,"rol",ABSOLUTE,3,NULL
|
||||
@ -49,7 +49,7 @@ OP_BBR2_REL,"bbr2",RELATIVE,2,NULL
|
||||
OP_BMI_REL,"bmi",RELATIVE,2,NULL
|
||||
OP_AND_IZPY,"and",IZPY,2,NULL
|
||||
OP_AND_IZP,"and",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_34,"nop",IMPLIED,1,NULL
|
||||
OP_BIT_ZPX,"bit",ZPX,2,NULL
|
||||
OP_AND_ZPX,"and",ZPX,2,NULL
|
||||
OP_ROL_ZPX,"rol",ZPX,2,NULL
|
||||
@ -57,23 +57,23 @@ OP_RMB3_ZP,"rmb3",ZP,2,NULL
|
||||
OP_SEC,"sec",IMPLIED,1,NULL
|
||||
OP_AND_ABSY,"and",ABSOLUTEY,3,NULL
|
||||
OP_DEC,"dec",ACCUMULATOR,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_3C,"nop",IMPLIED,1,NULL
|
||||
OP_BIT_ABSX,"bit",ABSOLUTEX,3,NULL
|
||||
OP_AND_ABSX,"and",ABSOLUTEX,3,NULL
|
||||
OP_ROL_ABSX,"rol",ABSOLUTEX,3,NULL
|
||||
OP_BBR3_REL,"bbr3",RELATIVE,2,NULL
|
||||
OP_RTI,"rti",IMPLIED,1,NULL
|
||||
OP_EOR_IZPX,"eor",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ZP,2,NULL
|
||||
OP_NOPI_43,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_44,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_45,"nop",ZP,2,NULL
|
||||
OP_EOR_ZP,"eor",ZP,2,NULL
|
||||
OP_LSR_ZP,"lsr",ZP,2,NULL
|
||||
OP_RMB4_ZP,"rmb4",ZP,2,NULL
|
||||
OP_PHA,"pha",IMPLIED,1,NULL
|
||||
OP_EOR_IMM,"eor",IMMEDIATE,2,NULL
|
||||
OP_LSR,"lsr",ACCUMULATOR,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_4C,"nop",IMPLIED,1,NULL
|
||||
OP_JMP_ABS,"jmp",ABSOLUTE,3,NULL
|
||||
OP_EOR_ABS,"eor",ABSOLUTE,3,NULL
|
||||
OP_LSR_ABS,"lsr",ABSOLUTE,3,NULL
|
||||
@ -81,23 +81,23 @@ OP_BBR4_REL,"bbr4",RELATIVE,2,NULL
|
||||
OP_BVC_REL,"bvc",RELATIVE,2,NULL
|
||||
OP_EOR_IZPY,"eor",IZPY,2,NULL
|
||||
OP_EOR_IZP,"eor",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ZPX,2,NULL
|
||||
OP_NOPI_54,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_55,"nop",ZPX,2,NULL
|
||||
OP_EOR_ZPX,"eor",ZPX,2,NULL
|
||||
OP_LSR_ZPX,"lsr",ZPX,2,NULL
|
||||
OP_RMB5_ZP,"rmb5",ZP,2,NULL
|
||||
OP_CLI,"cli",IMPLIED,1,NULL
|
||||
OP_EOR_ABSY,"eor",ABSOLUTEY,3,NULL
|
||||
OP_PHY,"phy",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ABSOLUTE,3,NULL
|
||||
OP_NOPI_5C,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_5D,"nop",ABSOLUTE,3,NULL
|
||||
OP_EOR_ABSX,"eor",ABSOLUTEX,3,NULL
|
||||
OP_LSR_ABSX,"lsr",ABSOLUTEX,3,NULL
|
||||
OP_BBR5_REL,"bbr5",RELATIVE,2,NULL
|
||||
OP_RTS,"rts",IMPLIED,1,NULL
|
||||
OP_ADC_IZPX,"adc",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_63,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_64,"nop",IMPLIED,1,NULL
|
||||
OP_STZ_ZP,"stz",ZP,2,NULL
|
||||
OP_ADC_ZP,"adc",ZP,2,NULL
|
||||
OP_ROR_ZP,"ror",ZP,2,NULL
|
||||
@ -105,7 +105,7 @@ OP_RMB6_ZP,"rmb6",ZP,2,NULL
|
||||
OP_PLA,"pla",IMPLIED,1,NULL
|
||||
OP_ADC_IMM,"adc",IMMEDIATE,2,NULL
|
||||
OP_ROR,"ror",ACCUMULATOR,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_6C,"nop",IMPLIED,1,NULL
|
||||
OP_JMP_IABS,"jmp",IABSOLUTE,3,NULL
|
||||
OP_ADC_ABS,"adc",ABSOLUTE,3,NULL
|
||||
OP_ROR_ABS,"ror",ABSOLUTE,3,NULL
|
||||
@ -113,7 +113,7 @@ OP_BBR6_REL,"bbr6",RELATIVE,2,NULL
|
||||
OP_BVS_REL,"bvs",RELATIVE,2,NULL
|
||||
OP_ADC_IZPY,"adc",IZPY,2,NULL
|
||||
OP_ADC_IZP,"adc",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_74,"nop",IMPLIED,1,NULL
|
||||
OP_STZ_ZPX,"stz",ZPX,2,NULL
|
||||
OP_ADC_ZPX,"adc",ZPX,2,NULL
|
||||
OP_ROR_ZPX,"ror",ZPX,2,NULL
|
||||
@ -121,15 +121,15 @@ OP_RMB7_ZP,"rmb7",ZP,2,NULL
|
||||
OP_SEI,"sei",IMPLIED,1,NULL
|
||||
OP_ADC_ABSY,"adc",ABSOLUTEY,3,NULL
|
||||
OP_PLY,"ply",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_7C,"nop",IMPLIED,1,NULL
|
||||
OP_JMP_IABSX,"jmp",IABSOLUTEX,3,NULL
|
||||
OP_ADC_ABSX,"adc",ABSOLUTEX,3,NULL
|
||||
OP_ROR_ABSX,"ror",ABSOLUTEX,3,NULL
|
||||
OP_BBR7_REL,"bbr7",RELATIVE,2,NULL
|
||||
OP_BRA_REL,"bra",RELATIVE,2,NULL
|
||||
OP_STA_IZPX,"sta",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_83,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_84,"nop",IMPLIED,1,NULL
|
||||
OP_STY_ZP,"sty",ZP,2,NULL
|
||||
OP_STA_ZP,"sta",ZP,2,NULL
|
||||
OP_STX_ZP,"stx",ZP,2,NULL
|
||||
@ -137,7 +137,7 @@ OP_SMB0_ZP,"smb0",ZP,2,NULL
|
||||
OP_DEY,"dey",IMPLIED,1,NULL
|
||||
OP_BIT_IMM,"bit",IMMEDIATE,2,NULL
|
||||
OP_TXA,"txa",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_8C,"nop",IMPLIED,1,NULL
|
||||
OP_STY_ABS,"sty",ABSOLUTE,3,NULL
|
||||
OP_STA_ABS,"sta",ABSOLUTE,3,NULL
|
||||
OP_STX_ABS,"stx",ABSOLUTE,3,NULL
|
||||
@ -145,7 +145,7 @@ OP_BBS0_REL,"bbs0",RELATIVE,2,NULL
|
||||
OP_BCC_REL,"bcc",RELATIVE,2,NULL
|
||||
OP_STA_IZPY,"sta",IZPY,2,NULL
|
||||
OP_STA_IZP,"sta",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_94,"nop",IMPLIED,1,NULL
|
||||
OP_STY_ZPX,"sty",ZPX,2,NULL
|
||||
OP_STA_ZPX,"sta",ZPX,2,NULL
|
||||
OP_STX_ZPY,"stx",ZPY,2,NULL
|
||||
@ -153,7 +153,7 @@ OP_SMB1_ZP,"smb1",ZP,2,NULL
|
||||
OP_TYA,"tya",IMPLIED,1,NULL
|
||||
OP_STA_ABSY,"sta",ABSOLUTEY,3,NULL
|
||||
OP_TXS,"txs",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_9C,"nop",IMPLIED,1,NULL
|
||||
OP_STZ_ABS,"stz",ABSOLUTE,3,NULL
|
||||
OP_STA_ABSX,"sta",ABSOLUTEX,3,NULL
|
||||
OP_STZ_ABSX,"stz",ABSOLUTEX,3,NULL
|
||||
@ -161,7 +161,7 @@ OP_BBS1_REL,"bbs1",RELATIVE,2,NULL
|
||||
OP_LDY_IMM,"ldy",IMMEDIATE,2,NULL
|
||||
OP_LDA_IZPX,"lda",IZPX,2,NULL
|
||||
OP_LDX_IMM,"ldx",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_A4,"nop",IMPLIED,1,NULL
|
||||
OP_LDY_ZP,"ldy",ZP,2,NULL
|
||||
OP_LDA_ZP,"lda",ZP,2,NULL
|
||||
OP_LDX_ZP,"ldx",ZP,2,NULL
|
||||
@ -169,7 +169,7 @@ OP_SMB2_ZP,"smb2",ZP,2,NULL
|
||||
OP_TAY,"tay",IMPLIED,1,NULL
|
||||
OP_LDA_IMM,"lda",IMMEDIATE,2,NULL
|
||||
OP_TAX,"tax",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_AC,"nop",IMPLIED,1,NULL
|
||||
OP_LDY_ABS,"ldy",ABSOLUTE,3,NULL
|
||||
OP_LDA_ABS,"lda",ABSOLUTE,3,NULL
|
||||
OP_LDX_ABS,"ldx",ABSOLUTE,3,NULL
|
||||
@ -177,7 +177,7 @@ OP_BBS2_REL,"bbs2",RELATIVE,2,NULL
|
||||
OP_BCS_REL,"bcs",RELATIVE,2,NULL
|
||||
OP_LDA_IZPY,"lda",IZPY,2,NULL
|
||||
OP_LDA_IZP,"lda",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_B4,"nop",IMPLIED,1,NULL
|
||||
OP_LDY_ZPX,"ldy",ZPX,2,NULL
|
||||
OP_LDA_ZPX,"lda",ZPX,2,NULL
|
||||
OP_LDX_ZPY,"unimpl",ZPY,1,NULL
|
||||
@ -185,15 +185,15 @@ OP_SMB3_ZP,"smb3",ZP,2,NULL
|
||||
OP_CLV,"clv",IMPLIED,1,NULL
|
||||
OP_LDA_ABSY,"lda",ABSOLUTEY,3,NULL
|
||||
OP_TSX,"tsx",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_BC,"nop",IMPLIED,1,NULL
|
||||
OP_LDY_ABSX,"ldy",ABSOLUTEX,3,NULL
|
||||
OP_LDA_ABSX,"lda",ABSOLUTEX,3,NULL
|
||||
OP_LDX_ABSY,"ldx",ABSOLUTEY,3,NULL
|
||||
OP_BBS3_REL,"bbs3",RELATIVE,2,NULL
|
||||
OP_CPY_IMM,"cpy",IMMEDIATE,2,NULL
|
||||
OP_CMP_IZPX,"cmp",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_C3,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_C4,"nop",IMPLIED,1,NULL
|
||||
OP_CPY_ZP,"cpy",ZP,2,NULL
|
||||
OP_CMP_ZP,"cmp",ZP,2,NULL
|
||||
OP_DEC_ZP,"dec",ZP,2,NULL
|
||||
@ -209,8 +209,8 @@ OP_BBS4_REL,"bbs4",RELATIVE,2,NULL
|
||||
OP_BNE_REL,"bne",RELATIVE,2,NULL
|
||||
OP_CMP_IZPY,"cmp",IZPY,2,NULL
|
||||
OP_CMP_IZP,"cmp",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ZPX,2,NULL
|
||||
OP_NOPI_D4,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_D5,"nop",ZPX,2,NULL
|
||||
OP_CMP_ZPX,"cmp",ZPX,2,NULL
|
||||
OP_DEC_ZPX,"dec",ZPX,2,NULL
|
||||
OP_SMB5_ZP,"smb5",ZP,2,NULL
|
||||
@ -218,14 +218,14 @@ OP_CLD,"cld",IMPLIED,1,NULL
|
||||
OP_CMP_ABSY,"cmp",ABSOLUTEY,3,NULL
|
||||
OP_PHX,"phx",IMPLIED,1,NULL
|
||||
OP_STP,"stp",IMPLIED,1,emul_stp
|
||||
OP_NOPI,"nop",ABSOLUTE,3,NULL
|
||||
OP_NOPI_DD,"nop",ABSOLUTE,3,NULL
|
||||
OP_CMP_ABSX,"cmp",ABSOLUTEX,3,NULL
|
||||
OP_DEC_ABSX,"dec",ABSOLUTEX,3,NULL
|
||||
OP_BBS5_REL,"bbs5",RELATIVE,2,NULL
|
||||
OP_CPX_IMM,"cpx",IMMEDIATE,2,NULL
|
||||
OP_SBC_IZPX,"sbc",IZPX,2,NULL
|
||||
OP_NOPI,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_E3,"nop",IMMEDIATE,2,NULL
|
||||
OP_NOPI_E4,"nop",IMPLIED,1,NULL
|
||||
OP_CPX_ZP,"cpx",ZP,2,NULL
|
||||
OP_SBC_ZP,"sbc",ZP,2,NULL
|
||||
OP_INC_ZP,"inc",ZP,2,NULL
|
||||
@ -233,7 +233,7 @@ OP_SMB6_ZP,"smb6",ZP,2,NULL
|
||||
OP_INX,"inx",IMPLIED,1,NULL
|
||||
OP_SBC_IMM,"sbc",IMMEDIATE,2,NULL
|
||||
OP_NOP,"nop",IMPLIED,1,emul_nop
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_EC,"nop",IMPLIED,1,NULL
|
||||
OP_CPX_ABS,"cpx",ABSOLUTE,3,NULL
|
||||
OP_SBC_ABS,"sbc",ABSOLUTE,3,NULL
|
||||
OP_INC_ABS,"inc",ABSOLUTE,3,NULL
|
||||
@ -241,16 +241,16 @@ OP_BBS6_REL,"bbs6",RELATIVE,2,NULL
|
||||
OP_BEQ_REL,"beq",RELATIVE,2,NULL
|
||||
OP_SBC_IZPY,"sbc",IZPY,2,NULL
|
||||
OP_SBC_IZP,"sbc",IZP,2,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ZPX,2,NULL
|
||||
OP_NOPI_F4,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_F5,"nop",ZPX,2,NULL
|
||||
OP_SBC_ZPX,"sbc",ZPX,2,NULL
|
||||
OP_INC_ZPX,"inc",ZPX,2,NULL
|
||||
OP_SMB7_ZP,"smb7",ZP,2,NULL
|
||||
OP_SED,"sed",IMPLIED,1,NULL
|
||||
OP_SBC_ABSY,"sbc",ABSOLUTEY,3,NULL
|
||||
OP_PLX,"plx",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI,"nop",ABSOLUTE,3,NULL
|
||||
OP_NOPI_FC,"nop",IMPLIED,1,NULL
|
||||
OP_NOPI_FD,"nop",ABSOLUTE,3,NULL
|
||||
OP_SBC_ABSX,"sbc",ABSOLUTEX,1,NULL
|
||||
OP_INC_ABSX,"inc",ABSOLUTEX,1,NULL
|
||||
OP_BBS7_REL,"bbs7",RELATIVE,1,NULL
|
||||
|
|
Loading…
Reference in New Issue
Block a user