Technically there are two valid NOPs
This commit is contained in:
parent
51d6cdd3b1
commit
8ef06a7e1a
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ impl Uxn {
|
|||
// The value of PC is defined to be the value of the NEXT pc ala Mips
|
||||
self.pc += 1;
|
||||
|
||||
// Short circuit for fast NOP
|
||||
if icode == Icode::NOP {
|
||||
// Short circuit for cheap NOPs (POPk, POPkr)
|
||||
if icode & Icode::NOP == Icode::NOP {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue