From 4e237d269cc8d65847f86ae4d5bc285a3b20a1a4 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Wed, 30 Jan 2019 17:13:04 -0600 Subject: [PATCH] Bug fix for CMP Abs,X reported by Greg H. --- as65.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/as65.pl b/as65.pl index e12dcef..3efa80d 100644 --- a/as65.pl +++ b/as65.pl @@ -430,7 +430,7 @@ my %mnemonics = ( # Absolute CMP Abs CD 3 4 'Absolute' => 0xcd, # Absolute,X CMP Abs,X DD 3 4 - 'Absolute_X' => 0xd0, + 'Absolute_X' => 0xdd, # Absolute,Y CMP Abs,Y D9 3 4 'Absolute_Y' => 0xd9, # (Zero Page,X) CMP (Zpg,X) C1 2 6