summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/ucom4/ucom4op.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/ucom4/ucom4op.inc')
-rw-r--r--src/emu/cpu/ucom4/ucom4op.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/cpu/ucom4/ucom4op.inc b/src/emu/cpu/ucom4/ucom4op.inc
index 05abd2f4a49..6c6faddeae5 100644
--- a/src/emu/cpu/ucom4/ucom4op.inc
+++ b/src/emu/cpu/ucom4/ucom4op.inc
@@ -713,6 +713,9 @@ void ucom4_cpu_device::op_stm()
// STM X: Reset Timer F/F, Start Timer with X
op_illegal();
+
+ if ((m_arg & 0xc0) != 0x80)
+ logerror("%s STM opcode unexpected upper arg $%02X at $%03X\n", tag(), m_arg & 0xc0, m_pc);
}
void ucom4_cpu_device::op_ttm()