WHY WAS I USING S-TYPE IMMEDIATE IN LD (also add some more debugging info on an exception)

This commit is contained in:
2025-12-22 18:00:15 +01:00
parent 48477bd8b1
commit 7177633477
2 changed files with 2 additions and 1 deletions

View File

@@ -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 => {