mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
h8500dasm: Fix length calculation for indirect JMP/JSR (nw)
This commit is contained in:
parent
f1917b828c
commit
74bed765fe
@ -390,7 +390,7 @@ offs_t h8500_disassembler::dasm_misc(std::ostream &stream, offs_t pc, u8 ea, con
|
||||
}
|
||||
util::stream_format(stream, "%-9s", BIT(op, 3) ? "JSR" : "JMP");
|
||||
format_ea(stream, op, disp);
|
||||
return (eabytes + 2) | (BIT(op, 3) ? STEP_OVER : 0) | SUPPORTED;
|
||||
return (eabytes + 1) | (BIT(op, 3) ? STEP_OVER : 0) | SUPPORTED;
|
||||
}
|
||||
else if (ea == 0x11 && op >= 0xc0 && m_expanded)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user