diff --git a/src/processor/opcodes.rs b/src/processor/opcodes.rs index 1d423a1..e8d3ff2 100644 --- a/src/processor/opcodes.rs +++ b/src/processor/opcodes.rs @@ -1155,7 +1155,7 @@ impl CPU { 3 } 0xF1 => { - self.reg.af = self.pop_word() & 0xF0; + self.reg.af = self.pop_word(); 3 } 0xF2 => {