From 5e83b42b2c3afe3c357afcc9ca437648838ef9ec Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Tue, 18 Dec 2018 08:08:01 -0600 Subject: [PATCH] Fixed bug in Zero Page,X --- da65.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/da65.pl b/da65.pl index 122abdb..c79776a 100644 --- a/da65.pl +++ b/da65.pl @@ -1050,7 +1050,7 @@ sub mode_Zero_Page_X { if ($input_mode) { print uc sprintf("%04x: %3.3s \$%02x,X\n", $addr + $base, $instr, $bytes[$addr + 1]); } else { - print uc sprintf("%08x %02x %02x %3.3s \$%02x,X\n", $addr + $base, $bytes[$addr], $bytes[$addr + 1], $instr, $bytes[$addr + 1]); + print uc sprintf("%08x %02x %02x %3.3s \$%02x,X\n", $addr + $base, $bytes[$addr], $bytes[$addr + 1], $instr, $bytes[$addr + 1]); } $_[0] += 2; }