From 7a22570a0f5a16bcfb10e9af7127ef55124716aa Mon Sep 17 00:00:00 2001 From: taitep Date: Mon, 22 Dec 2025 22:46:45 +0100 Subject: [PATCH] Improve the debug messages when invalid instructions are found (again) --- src/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.rs b/src/core.rs index 2596441..350db31 100644 --- a/src/core.rs +++ b/src/core.rs @@ -78,7 +78,7 @@ impl Core { } } } else { - eprintln!("Invalid Instruction {:08x}", instr.0); + eprintln!("Invalid Instruction {:08x} at PC: {:x}", instr.0, self.pc); break; } }