From 8ef892ee3e7095d41d76b5656c14556e8a2d8646 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Mon, 17 Dec 2018 07:17:53 -0600 Subject: [PATCH] Re-fixed absolute mode --- da65.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/da65.pl b/da65.pl index 6a736c7..122abdb 100644 --- a/da65.pl +++ b/da65.pl @@ -1070,7 +1070,7 @@ sub mode_Absolute { if ($input_mode) { print uc sprintf("%04x: %3.3s \$%02x%02x\n", $addr + $base, $instr, $bytes[$addr + 2], $bytes[$addr + 1]); } else { - print uc sprintf("%08x %02x %02x %02x %3.3s \$%02x%02x\n", $addr + $base, $bytes[$addr], $bytes[$addr + 2], $bytes[$addr + 1], $instr, $bytes[$addr + 1], $bytes[$addr + 2]); + print uc sprintf("%08x %02x %02x %02x %3.3s \$%02x%02x\n", $addr + $base, $bytes[$addr], $bytes[$addr + 1], $bytes[$addr + 2], $instr, $bytes[$addr + 2], $bytes[$addr + 1]); } $_[0] += 3; }