fixed up debug PC/SP addr

This commit is contained in:
Mwa
2026-03-26 20:26:51 +01:00
parent e97b4c4ee4
commit 96c3a514f2

View File

@@ -505,7 +505,7 @@ fn debug_context(com: &Computer) {
com.regs[i + 8]
);
}
println!("SP={:08x} PC={:08x}", com.sp, com.pc);
println!("SP={:08x} PC={:08x}", com.sp * 4, com.pc * 4);
println!("RAM at SP | Ram at PC:");
let mut pc_lines = Vec::new();