fixed up debug command
This commit is contained in:
752
Cargo.lock
generated
752
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -425,7 +425,7 @@ fn debug_loop(com: &mut Computer) {
|
|||||||
},
|
},
|
||||||
Commands::Up => {
|
Commands::Up => {
|
||||||
let curr_sp = com.sp;
|
let curr_sp = com.sp;
|
||||||
while (com.sp > curr_sp)
|
while (com.sp < curr_sp)
|
||||||
|| ((com.ram[com.pc] != (0b10001000 << 24))
|
|| ((com.ram[com.pc] != (0b10001000 << 24))
|
||||||
&& (com.ram[com.pc] != (0b10101000 << 24)))
|
&& (com.ram[com.pc] != (0b10101000 << 24)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user