diff --git a/src/cpu.rs b/src/cpu.rs index a955c3b..912f0e5 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -269,7 +269,8 @@ mod instructions { Ok(()) } pub fn stop(&mut self) -> IResult { - Err(UnimplementedInsn(self.ir).into()) + println!("Stop requested.\n{self}"); + Ok(()) } pub fn halt(&mut self) -> IResult { Ok(())