%d -> %do for EMT/TRAP
This commit is contained in:
parent
5c42c074f4
commit
17fc0701ed
1 changed files with 2 additions and 2 deletions
4
cpu.cpp
4
cpu.cpp
|
@ -1461,10 +1461,10 @@ void cpu::disassemble()
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((instruction >> 8) == 0b10001000)
|
if ((instruction >> 8) == 0b10001000)
|
||||||
text = format("EMT %d", instruction & 255);
|
text = format("EMT %o", instruction & 255);
|
||||||
|
|
||||||
if ((instruction >> 8) == 0b10001001)
|
if ((instruction >> 8) == 0b10001001)
|
||||||
text = format("TRAP %d", instruction & 255);
|
text = format("TRAP %o", instruction & 255);
|
||||||
|
|
||||||
if ((instruction & ~0b111111) == 0b0000000001000000) {
|
if ((instruction & ~0b111111) == 0b0000000001000000) {
|
||||||
auto dst_text = addressing_to_string(src_register, pc);
|
auto dst_text = addressing_to_string(src_register, pc);
|
||||||
|
|
Loading…
Add table
Reference in a new issue