summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh_dasm.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-02-16 03:29:45 +1100
committer Vas Crabb <vas@vastheman.com>2025-02-16 03:29:45 +1100
commitfc9598d1fce616a9236d7ce1f681df1ba16cdb61 (patch)
tree028bb7de7442b19936212a1e41081e95a33fc68b /src/devices/cpu/sh/sh_dasm.cpp
parent66822c511bebdd482e9e03bc28ee70b0c0e0deff (diff)
cpu/sh: Fixed order of operands in disassembly of MAC.L (fixes MT09114).
Diffstat (limited to 'src/devices/cpu/sh/sh_dasm.cpp')
-rw-r--r--src/devices/cpu/sh/sh_dasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh_dasm.cpp b/src/devices/cpu/sh/sh_dasm.cpp
index 26454484e3f..016d3022708 100644
--- a/src/devices/cpu/sh/sh_dasm.cpp
+++ b/src/devices/cpu/sh/sh_dasm.cpp
@@ -122,7 +122,7 @@ uint32_t sh_disassembler::op0000(std::ostream &stream, uint32_t pc, uint16_t opc
util::stream_format(stream, "MOV.L @(R0,%s),%s", regname[Rm], regname[Rn]);
break;
case 15:
- util::stream_format(stream, "MAC.L @%s+,@%s+", regname[Rn], regname[Rm]);
+ util::stream_format(stream, "MAC.L @%s+,@%s+", regname[Rm], regname[Rn]);
break;
}
}