summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h16
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2024-01-02 23:15:59 -0500
committer AJR <ajrhacker@users.noreply.github.com>2024-01-02 23:15:59 -0500
commit9948864f1484806c83a25c6a60d9cd91a2875d09 (patch)
tree2d6e7cbf2ea3cfdbaed522f6e18b5f0480668538 /src/devices/cpu/h16
parent8e4e59a1391ffffce0bceae515e99c276d2be66f (diff)
h16: Correct disassembly of SMOV and SSTR
Diffstat (limited to 'src/devices/cpu/h16')
-rw-r--r--src/devices/cpu/h16/h16dasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h16/h16dasm.cpp b/src/devices/cpu/h16/h16dasm.cpp
index a7741a39070..a8643555cb5 100644
--- a/src/devices/cpu/h16/h16dasm.cpp
+++ b/src/devices/cpu/h16/h16dasm.cpp
@@ -800,7 +800,7 @@ offs_t h16_disassembler::disassemble(std::ostream &stream, offs_t pc, const h16_
}
else
{
- util::stream_format(stream, "S%s/%c.%c ", (xb1 & 0x30) == 0 ? "MOV" : "STR", "FB"[BIT(xb1, 6)], "BW"[BIT(op, 0)]);
+ util::stream_format(stream, "S%s/%c.%c ", (xb1 & 0x30) == 0 ? "STR" : "MOV", "FB"[BIT(xb1, 6)], "BW"[BIT(op, 0)]);
format_register_to_register(stream, xb2);
stream << ", ";
format_register(stream, 0, xb1 & 0x0f);