summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-02-09 02:07:13 +0100
committer hap <happppp@users.noreply.github.com>2024-02-09 02:07:27 +0100
commitef7677b4fe7c40c40eb2dd6b2826ce7d04bf6578 (patch)
tree608a41372cf3780236caf829598606a453ff1f2b /src
parent6fbb1d2f356ac25b223e1a5d6a4abcbbdde6933b (diff)
h8: fix jsr abs8i return address
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/h8/h8.lst5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/cpu/h8/h8.lst b/src/devices/cpu/h8/h8.lst
index 3a9991707a3..57ab7cbcb0e 100644
--- a/src/devices/cpu/h8/h8.lst
+++ b/src/devices/cpu/h8/h8.lst
@@ -1562,7 +1562,6 @@ macro jsr32 %opc %spreg
fetch
m_TMP1 = r16_r(7);
m_CCR = read16(m_TMP1) >> 8;
- m_TMP1 = r16_r(7);
m_TMP2 = read16(m_TMP1+2);
r16_w(7, m_TMP1+4);
internal(1);
@@ -1733,13 +1732,13 @@ macro jsr32 %opc %spreg
jsr32 m_TMP2 m_TMP1
5f00 ff00 0 jsr abs8i - o
- fetch
+ internal(1);
m_TMP2 = m_PC;
m_PC = read16(m_IR[0] & 0xff);
jsr16 m_TMP2 m_TMP1
5f00 ff00 0 jsr abs8i - h
- fetch
+ internal(1);
m_TMP2 = m_PC;
if(m_mode_advanced) {
m_TMP1 = read16(m_IR[0] & 0xff) << 16;