summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m32c/m32cdasm.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-06-19 12:07:52 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-06-19 12:08:23 -0400
commit0022ff2de936d7b47a957aea8e5c064edb98720b (patch)
tree840d1a914b0a2cc41e660bc49e33b202387cd053 /src/devices/cpu/m32c/m32cdasm.cpp
parent8e066f337cca2548aa09d75ef539faae4b72785e (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.cpp8
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;