summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms9900/9900dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms9900/9900dasm.cpp')
-rw-r--r--src/devices/cpu/tms9900/9900dasm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/tms9900/9900dasm.cpp b/src/devices/cpu/tms9900/9900dasm.cpp
index 3808d8e14fe..556eead78c3 100644
--- a/src/devices/cpu/tms9900/9900dasm.cpp
+++ b/src/devices/cpu/tms9900/9900dasm.cpp
@@ -412,6 +412,8 @@ offs_t tms9900_disassembler::disassemble(std::ostream &stream, offs_t pc, const
case format_2a: /* jump instructions */
displacement = (signed char)BITS(OP,8,15);
util::stream_format(stream, "%-4s >%04x", mnemonic, 0xffff & (PC + displacement * 2));
+ if (opc != _jmp)
+ dasmflags |= STEP_COND;
break;
case format_2b: /* bit I/O instructions */
@@ -692,6 +694,7 @@ offs_t tms9900_disassembler::disassemble(std::ostream &stream, offs_t pc, const
default:
osd_printf_error("debbugger internal error, file %s, line %d\n", __FILE__, __LINE__);
+ [[fallthrough]];
case illegal:
util::stream_format(stream, "data >%04x", OP);
break;