diff options
author | 2021-07-28 12:23:45 +0700 | |
---|---|---|
committer | 2021-07-28 12:23:45 +0700 | |
commit | 4589e4275932644c7d438801d8b1c9e89b4c8e5a (patch) | |
tree | 45913ad86dc85c0de75198d603b243b969ce51b1 | |
parent | a3f413ac423f9bd0aca9de004cfd4633ad6aa294 (diff) |
ns32000: fix smr instruction bug
-rw-r--r-- | src/devices/cpu/ns32000/ns32000.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/ns32000/ns32000.cpp b/src/devices/cpu/ns32000/ns32000.cpp index 66b440c4e46..f69ce67b846 100644 --- a/src/devices/cpu/ns32000/ns32000.cpp +++ b/src/devices/cpu/ns32000/ns32000.cpp @@ -2073,7 +2073,7 @@ template <int Width> void ns32000_device<Width>::execute_run() // gen,gen // read.i,regaddr case 0x7: - // SBITI offset,base + // SBITIi offset,base // gen,gen // read.i,regaddr { @@ -3250,7 +3250,7 @@ template <int Width> void ns32000_device<Width>::execute_run() mode[0].write_i(size); decode(mode, bytes); - if (slave(m_mmu, mode[0], mode[1])) + if (slave(m_mmu, mode[1], mode[0])) interrupt(SLV, m_pc); tex = mode[0].tea + top(size); |