STOP: Print CPU status and continue immediately (STOP sucks)
This commit is contained in:
parent
184054349f
commit
1a29412c85
@ -269,7 +269,8 @@ mod instructions {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
pub fn stop(&mut self) -> IResult {
|
pub fn stop(&mut self) -> IResult {
|
||||||
Err(UnimplementedInsn(self.ir).into())
|
println!("Stop requested.\n{self}");
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
pub fn halt(&mut self) -> IResult {
|
pub fn halt(&mut self) -> IResult {
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user