Improve the debug messages when invalid instructions are found (again)
This commit is contained in:
@@ -78,7 +78,7 @@ impl Core {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
eprintln!("Invalid Instruction {:08x}", instr.0);
|
eprintln!("Invalid Instruction {:08x} at PC: {:x}", instr.0, self.pc);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user