diff options
author | 2022-06-19 12:07:52 -0400 | |
---|---|---|
committer | 2022-06-19 12:08:23 -0400 | |
commit | 0022ff2de936d7b47a957aea8e5c064edb98720b (patch) | |
tree | 840d1a914b0a2cc41e660bc49e33b202387cd053 /src/devices/cpu/m32c/m32cdasm.cpp | |
parent | 8e066f337cca2548aa09d75ef539faae4b72785e (diff) |
m32cdasm.cpp: Add some default cases to switch blocks
Diffstat (limited to 'src/devices/cpu/m32c/m32cdasm.cpp')
-rw-r--r-- | src/devices/cpu/m32c/m32cdasm.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/cpu/m32c/m32cdasm.cpp b/src/devices/cpu/m32c/m32cdasm.cpp index a198971e965..63dd5a14597 100644 --- a/src/devices/cpu/m32c/m32cdasm.cpp +++ b/src/devices/cpu/m32c/m32cdasm.cpp @@ -508,6 +508,10 @@ void m32c_disassembler::dasm_general(std::ostream &stream, offs_t &pc, offs_t &f util::stream_format(stream, "%-11sR1H, ", BIT(op2, 4) ? "sha.l" : "shl.l"); dasm_operand(stream, pc, opcodes, (op1 & 0x0e) << 1 | BIT(op2, 6, 2), 2, indirect_dest); break; + + default: + stream << "und"; + break; } break; @@ -688,6 +692,10 @@ void m32c_disassembler::dasm_general(std::ostream &stream, offs_t &pc, offs_t &f else stream << "und"; break; + + default: + stream << "und"; + break; } break; |