diff options
| author | taitep <taitep@taitep.se> | 2025-12-22 22:46:45 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-22 22:46:45 +0100 |
| commit | 7a22570a0f5a16bcfb10e9af7127ef55124716aa (patch) | |
| tree | 4416121d0f0c40eb1c3602b4604b177549cdee78 /src/core.rs | |
| parent | 2b5eb96187c8aa67b5d43abf1917e7158620f2f8 (diff) | |
Improve the debug messages when invalid instructions are found (again)
Diffstat (limited to 'src/core.rs')
| -rw-r--r-- | src/core.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |
