mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
xtensad.cpp: Fix decoding of cache instructions
This commit is contained in:
parent
428fbb7c55
commit
b05aa13c6a
@ -830,7 +830,7 @@ offs_t xtensa_disassembler::disassemble(std::ostream &stream, offs_t pc, const x
|
||||
case 0b0000: case 0b0001: case 0b0010: case 0b0011: // DPFR, DPFW, DPFRO, DPFWO (with Data Cache Option)
|
||||
case 0b0100: case 0b0101: case 0b0110: case 0b0111: // DHWB, DHWBI, DHI, DII (with Data Cache Option)
|
||||
case 0b1100: case 0b1110: case 0b1111: // IPF, IHI, III (with Instruction Cache Option)
|
||||
util::stream_format(stream, "%-8sa%d, ", s_cache_ops[BIT(inst, 12, 4)], BIT(inst, 8, 4));
|
||||
util::stream_format(stream, "%-8sa%d, ", s_cache_ops[BIT(inst, 4, 4)], BIT(inst, 8, 4));
|
||||
format_imm(stream, (inst >> 16) * 4);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user