From 6c2295244149605d2099ea5e8f6491a310dab8db Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 12 Mar 2023 15:58:48 -0400 Subject: m740: Correct PC value following LDA ($zz, X) --- src/devices/cpu/m6502/om740.lst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/cpu/m6502/om740.lst b/src/devices/cpu/m6502/om740.lst index 21e64ac64e1..c3b1184db73 100644 --- a/src/devices/cpu/m6502/om740.lst +++ b/src/devices/cpu/m6502/om740.lst @@ -671,6 +671,7 @@ lda_m_aby lda_m_idx TMP2 = read_pc_noinc(); read_dummy(PC & 0xff); + PC++; TMP2 += X; TMP = read(TMP2 & 0xff); TMP = set_h(TMP, read((TMP2+1) & 0xff)); -- cgit v1.2.3