mirror of
https://github.com/softwarejanitor/da65.git
synced 2024-06-09 08:29:28 +00:00
Fixed bug in Zero Page,X
This commit is contained in:
parent
8ef892ee3e
commit
5e83b42b2c
2
da65.pl
2
da65.pl
|
@ -1050,7 +1050,7 @@ sub mode_Zero_Page_X {
|
||||||
if ($input_mode) {
|
if ($input_mode) {
|
||||||
print uc sprintf("%04x: %3.3s \$%02x,X\n", $addr + $base, $instr, $bytes[$addr + 1]);
|
print uc sprintf("%04x: %3.3s \$%02x,X\n", $addr + $base, $instr, $bytes[$addr + 1]);
|
||||||
} else {
|
} 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;
|
$_[0] += 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user