From e76f2c9a30c95cf1e86237907284aa36ee35b999 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 19 Mar 2023 11:57:39 -0400 Subject: h8500dasm.cpp: Fix silly mistake in disassembly of illegal instructions --- src/devices/cpu/h8500/h8500dasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/h8500/h8500dasm.cpp b/src/devices/cpu/h8500/h8500dasm.cpp index 9bb33322fe3..5bea8496b50 100644 --- a/src/devices/cpu/h8500/h8500dasm.cpp +++ b/src/devices/cpu/h8500/h8500dasm.cpp @@ -426,7 +426,7 @@ offs_t h8500_disassembler::dasm_immop(std::ostream &stream, offs_t pc, bool w, c return (w ? 4 : 3) | SUPPORTED; } else - return dasm_illegal(stream, w ? 0x04 : 0x0c); + return dasm_illegal(stream, w ? 0x0c : 0x04); } offs_t h8500_disassembler::disassemble(std::ostream &stream, offs_t pc, const h8500_disassembler::data_buffer &opcodes, const h8500_disassembler::data_buffer ¶ms) -- cgit v1.2.3