summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-11-11 22:11:35 -0500
committer arbee <rb6502@users.noreply.github.com>2021-11-11 22:11:35 -0500
commitdc6ddf122cfbf98c1bf9d2ba705c6adfec98d847 (patch)
tree86934eca6cfb061c46f0f03252baf1b4e1ef7c5c
parentaae7ac5328ae98cf3d05bf892748e78ab467f00d (diff)
m740: STY ZP should store Y, not X (IIgs ADB MCU @ $FF15) [R. Belmont]
-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 86e09028517..cf383b50266 100644
--- a/src/devices/cpu/m6502/om740.lst
+++ b/src/devices/cpu/m6502/om740.lst
@@ -1146,7 +1146,7 @@ sty_m_aba
sty_m_zpg
TMP = read_pc();
read_dummy(TMP);
- write(TMP, X);
+ write(TMP, Y);
prefetch();
sty_m_zpx