disas fix for JMP
This commit is contained in:
parent
f9af939906
commit
71590950e6
1 changed files with 1 additions and 1 deletions
2
cpu.cpp
2
cpu.cpp
|
@ -1478,7 +1478,7 @@ void cpu::disassemble()
|
|||
text = format("TRAP %o", instruction & 255);
|
||||
|
||||
if ((instruction & ~0b111111) == 0b0000000001000000) {
|
||||
auto dst_text = addressing_to_string(src_register, pc);
|
||||
auto dst_text = addressing_to_string(dst_register, pc);
|
||||
|
||||
text = std::string("JMP ") + dst_text.first;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue