summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-10-19 18:04:25 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-10-19 18:04:25 -0400
commit784dfae45f2e4cf9516a34b19a7f062b52dccdaf (patch)
tree6d0bd5d0f6f5e94f9bf1e2554c2f1fc55be80bd5
parentd8d3f944620b8b929ac220b064af752640590071 (diff)
m740: Fix return address for JSR ($zz)
-rw-r--r--src/devices/cpu/m6502/om740.lst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/om740.lst b/src/devices/cpu/m6502/om740.lst
index 586d36fcc17..841af3db193 100644
--- a/src/devices/cpu/m6502/om740.lst
+++ b/src/devices/cpu/m6502/om740.lst
@@ -114,7 +114,7 @@ jmp_zpi
prefetch();
jsr_zpi
- TMP2 = read_pc();
+ TMP2 = read_pc_noinc();
read(SP);
write(SP, PC>>8);
dec_SP();