From 7177633477f1b9851a949c2c7b005185c3925b23 Mon Sep 17 00:00:00 2001 From: taitep Date: Mon, 22 Dec 2025 18:00:15 +0100 Subject: WHY WAS I USING S-TYPE IMMEDIATE IN LD (also add some more debugging info on an exception) --- src/core.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core.rs') diff --git a/src/core.rs b/src/core.rs index ce704fb..08f029b 100644 --- a/src/core.rs +++ b/src/core.rs @@ -64,6 +64,7 @@ impl Core { InstructionResult::Normal => {} InstructionResult::Exception(_e) => { eprintln!("Exception from instruction"); + eprintln!("PC: {:016X}, instr: {:08X}", self.pc, instr.0); break; } InstructionResult::Pause => { -- cgit v1.2.3