diff --git a/cpu.cpp b/cpu.cpp index 7aaf9e2..82d89e6 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1822,7 +1822,8 @@ std::map > cpu::disassemble(const uint16_t // single_operand_instructions switch(so_opcode) { case 0b00000011: - text = "SWAB " + dst_text.operand; + if (!word_mode) + text = "SWAB " + dst_text.operand; break; case 0b000101000: