From d0849a60fa1a5c1f436f0b7350e7a9ec110e75df Mon Sep 17 00:00:00 2001 From: Mark Allender Date: Wed, 8 Feb 2017 19:12:53 -0600 Subject: [PATCH] Fix conditional test Rockwell/WDC opcodes Test comments indicated that having rkwl_wdc_op set to > 1 means no test, but there was conditional that was just checking that the value was not 0 and thereby causing those opcodes to be tests when this value was set to > 1 --- 65C02_extended_opcodes_test.a65c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/65C02_extended_opcodes_test.a65c b/65C02_extended_opcodes_test.a65c index fa3dc72..120ae18 100644 --- a/65C02_extended_opcodes_test.a65c +++ b/65C02_extended_opcodes_test.a65c @@ -1867,7 +1867,7 @@ tbt2 trap_ne ;sp push/pop mismatch next_test - if rkwl_wdc_op + if rkwl_wdc_op = 1 ; testing RMB, SMB - zp rmbt macro ;\1 = bitnum lda #$ff @@ -2751,4 +2751,4 @@ ji_px nop ;low address byte matched with ji_ret endif end start - \ No newline at end of file +