From 17fc0701ed1bff9cc9589a3ccb846959080d3724 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 19 Mar 2022 14:53:13 +0100 Subject: [PATCH] %d -> %do for EMT/TRAP --- cpu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu.cpp b/cpu.cpp index bb25d1f..78ec28e 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1461,10 +1461,10 @@ void cpu::disassemble() } if ((instruction >> 8) == 0b10001000) - text = format("EMT %d", instruction & 255); + text = format("EMT %o", instruction & 255); if ((instruction >> 8) == 0b10001001) - text = format("TRAP %d", instruction & 255); + text = format("TRAP %o", instruction & 255); if ((instruction & ~0b111111) == 0b0000000001000000) { auto dst_text = addressing_to_string(src_register, pc);