From b6240507ee471cd77b6f36bdcf293f65242ecffc Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 13 Apr 2021 21:26:00 +0200 Subject: h8: Fix disassembly of abs16 --- src/devices/cpu/h8/h8d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/h8/h8d.cpp b/src/devices/cpu/h8/h8d.cpp index 8ae60b1a16c..d5048cbb7d4 100644 --- a/src/devices/cpu/h8/h8d.cpp +++ b/src/devices/cpu/h8/h8d.cpp @@ -148,7 +148,7 @@ void h8_disassembler::disassemble_am(std::ostream &stream, int am, offs_t pc, co break; case DASM_abs16: - if(offset >= 6) + if(slot == 3) { if (advanced) util::stream_format(stream, "@h'%06x", s32(s16(opcodes.r16(epc-4))) & 0xffffff); -- cgit v1.2.3