From 18e913da2308fd09cd0b86f8bb1cbe31d0c9f3f2 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Wed, 23 Jan 2019 09:59:38 -0600 Subject: [PATCH] Bug fix to Zero Page,X LDY --- da65.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/da65.pl b/da65.pl index b48874c..2d78438 100644 --- a/da65.pl +++ b/da65.pl @@ -595,9 +595,9 @@ my %opcodes = ( 'modesub' => \&mode_Zero_Page, 'mnemonic' => 'LDY' }, - # Zero Page,Y LDY Zpg,X B4 2 4 + # Zero Page,X LDY Zpg,X B4 2 4 0xb4 => { - 'modesub' => \&mode_Zero_Page_Y, + 'modesub' => \&mode_Zero_Page_X, 'mnemonic' => 'LDY' }, # Absolute LDY Abs AC 3 4