h8: Fix disassembly of abs16

This commit is contained in:
Olivier Galibert 2021-04-13 21:26:00 +02:00
parent f9215bb5d2
commit b6240507ee

View File

@ -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);