fixed up debug PC/SP addr
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user