diff --git a/src/processor/instructions/primitives.rs b/src/processor/instructions/primitives.rs index 719d9a5..0520a1d 100644 --- a/src/processor/instructions/primitives.rs +++ b/src/processor/instructions/primitives.rs @@ -144,7 +144,6 @@ impl Cpu { let (result, carry) = first.overflowing_add(second); self.clear_flag(Flags::NSubtract); self.set_or_clear_flag(Flags::Carry, carry); - self.set_or_clear_flag(Flags::Zero, result == 0x0); self.set_or_clear_flag( Flags::HalfCarry, (((first & 0xFFF).wrapping_add(second & 0xFFF)) & 0x1000) == 0x1000,