From 6c3a203cdcbad9c76308922438161163a2169452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Mon, 23 Jan 2017 15:28:14 +0100 Subject: [PATCH] Support all AND addressing modes. --- src/65c02isa.csv | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/65c02isa.csv b/src/65c02isa.csv index d329934..c3b9334 100644 --- a/src/65c02isa.csv +++ b/src/65c02isa.csv @@ -32,7 +32,7 @@ OP_ORA_ABSX,"ora",ABSOLUTEX,3,emul_ora OP_ASL_ABSX,"asl",ABSOLUTEX,3,NULL OP_BBR1_REL,"bbr1",ZPR,2,NULL OP_JSR,"jsr",ABSOLUTE,3,NULL -OP_AND_IZPX,"and",IZPX,2,NULL +OP_AND_IZPX,"and",IZPX,2,emul_and OP_NOPI_23,"nop",IMMEDIATE,2,NULL OP_NOPI_24,"nop",IMPLIED,1,NULL OP_BIT_ZP,"bit",ZP,2,NULL @@ -44,23 +44,23 @@ OP_AND_IMM,"and",IMMEDIATE,2,emul_and OP_ROL,"rol",ACCUMULATOR,1,emul_rol OP_NOPI_2C,"nop",IMPLIED,1,NULL OP_BIT_ABS,"bit",ABSOLUTE,3,NULL -OP_AND_ABS,"and",ABSOLUTE,3,NULL +OP_AND_ABS,"and",ABSOLUTE,3,emul_and OP_ROL_ABS,"rol",ABSOLUTE,3,emul_rol OP_BBR2_REL,"bbr2",ZPR,2,NULL OP_BMI_REL,"bmi",RELATIVE,2,NULL -OP_AND_IZPY,"and",IZPY,2,NULL -OP_AND_IZP,"and",IZP,2,NULL +OP_AND_IZPY,"and",IZPY,2,emul_and +OP_AND_IZP,"and",IZP,2,emul_and OP_NOPI_34,"nop",IMPLIED,1,NULL OP_BIT_ZPX,"bit",ZPX,2,NULL -OP_AND_ZPX,"and",ZPX,2,NULL +OP_AND_ZPX,"and",ZPX,2,emul_and OP_ROL_ZPX,"rol",ZPX,2,emul_rol OP_RMB3_ZP,"rmb3",ZP,2,NULL OP_SEC,"sec",IMPLIED,1,emul_sec -OP_AND_ABSY,"and",ABSOLUTEY,3,NULL +OP_AND_ABSY,"and",ABSOLUTEY,3,emul_and OP_DEC,"dec",ACCUMULATOR,1,NULL OP_NOPI_3C,"nop",IMPLIED,1,NULL OP_BIT_ABSX,"bit",ABSOLUTEX,3,NULL -OP_AND_ABSX,"and",ABSOLUTEX,3,NULL +OP_AND_ABSX,"and",ABSOLUTEX,3,emul_and OP_ROL_ABSX,"rol",ABSOLUTEX,3,emul_rol OP_BBR3_REL,"bbr3",ZPR,2,NULL OP_RTI,"rti",IMPLIED,1,NULL