%d -> %do for EMT/TRAP

This commit is contained in:
folkert van heusden 2022-03-19 14:53:13 +01:00
parent 5c42c074f4
commit 17fc0701ed

View file

@ -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);