summaryrefslogtreecommitdiff
path: root/src/core.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.rs')
-rw-r--r--src/core.rs1
1 files changed, 1 insertions, 0 deletions
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 => {