From 406a34fcc443a1d9096d0d7584eae2217df3f5e6 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Tue, 18 Dec 2018 08:58:00 -0600 Subject: [PATCH] Fixed bugs in AND --- da65.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/da65.pl b/da65.pl index eabff9f..524baf3 100644 --- a/da65.pl +++ b/da65.pl @@ -90,12 +90,12 @@ my %opcodes = ( 'mnemonic' => 'AND' }, # (Zero Page,X) AND (Zpg,X) 21 2 6 - 0x31 => { + 0x21 => { 'modesub' => \&mode_Indirect_Zero_Page_X, 'mnemonic' => 'AND' }, # (Zero Page),Y AND (Zpg),Y 31 2 5 - 0x32 => { + 0x31 => { 'modesub' => \&mode_Indirect_Zero_Page_Y, 'mnemonic' => 'AND' },