This commit is contained in:
nora 2025-03-09 21:45:53 +01:00
parent 9ad5785106
commit dd2e4001fd
5 changed files with 130 additions and 27 deletions

View file

@ -156,9 +156,6 @@ impl Emulator {
}
fn set_pc(&mut self, pc: u32) -> Result<(), Status> {
if pc % 4 != 0 {
return Err(Status::UnalignedPc(pc));
}
self.pc = pc;
Ok(())
}