summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-06-20 17:25:07 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-06-20 17:25:07 -0400
commit3ba83a143ac08664867031ad41c8be15df0f9a05 (patch)
tree91c0571fbe21372393bbe3bcd325d27cfcde2c1f
parent81eec8d860a3582f36b32f33cd2cfb86be7257dd (diff)
riidasm: Correct order of parameters for MOVRP and MOVPR (nw)
-rw-r--r--src/devices/cpu/rii/riidasm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/rii/riidasm.cpp b/src/devices/cpu/rii/riidasm.cpp
index 7041955f378..72023ce5f9a 100644
--- a/src/devices/cpu/rii/riidasm.cpp
+++ b/src/devices/cpu/rii/riidasm.cpp
@@ -79,16 +79,16 @@ offs_t riscii_disassembler::disassemble(std::ostream &stream, offs_t pc, const r
if (BIT(opcode, 13))
{
util::stream_format(stream, "%-8s", "MOVPR");
- format_register(stream, preg);
- stream << ",";
format_register(stream, opcode & 0x00ff);
+ stream << ",";
+ format_register(stream, preg);
}
else
{
util::stream_format(stream, "%-8s", "MOVRP");
- format_register(stream, opcode & 0x00ff);
- stream << ",";
format_register(stream, preg);
+ stream << ",";
+ format_register(stream, opcode & 0x00ff);
}
}
}