summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/f2mc16/f2mc16d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/f2mc16/f2mc16d.cpp')
-rw-r--r--src/devices/cpu/f2mc16/f2mc16d.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/cpu/f2mc16/f2mc16d.cpp b/src/devices/cpu/f2mc16/f2mc16d.cpp
index 705327c9ce4..2d121f32f30 100644
--- a/src/devices/cpu/f2mc16/f2mc16d.cpp
+++ b/src/devices/cpu/f2mc16/f2mc16d.cpp
@@ -1450,7 +1450,10 @@ offs_t f2mc16_disassembler::disassemble(std::ostream &stream, offs_t pc, const f
case 0x49: case 0x59:
util::stream_format(stream, "%-8s", "MOVW");
- format_dir(stream, segm, opcodes.r8(pc + bytes++));
+ if (BIT(op, 4))
+ format_io(stream, opcodes.r8(pc + bytes++));
+ else
+ format_dir(stream, segm, opcodes.r8(pc + bytes++));
stream << ", A";
break;