disassembler fix (SWAB)

This commit is contained in:
folkert van heusden 2022-07-03 19:34:39 +02:00
parent c9a2b39116
commit 5b1d75fb74

View file

@ -1822,6 +1822,7 @@ std::map<std::string, std::vector<std::string> > cpu::disassemble(const uint16_t
// single_operand_instructions // single_operand_instructions
switch(so_opcode) { switch(so_opcode) {
case 0b00000011: case 0b00000011:
if (!word_mode)
text = "SWAB " + dst_text.operand; text = "SWAB " + dst_text.operand;
break; break;