diff --git a/tests/mos6502.arith.c b/tests/mos6502.arith.c index 867b4aa..4e654fc 100644 --- a/tests/mos6502.arith.c +++ b/tests/mos6502.arith.c @@ -28,8 +28,8 @@ Test(mos6502_arith, cmp) cpu->A = 3; mos6502_handle_cmp(cpu, 4); cr_assert_eq(cpu->P & MOS_CARRY, 0); - cr_assert_eq(cpu->P & MOS_NEGATIVE, 0); - cr_assert_eq(cpu->P & MOS_ZERO, MOS_ZERO); + cr_assert_eq(cpu->P & MOS_NEGATIVE, MOS_NEGATIVE); + cr_assert_eq(cpu->P & MOS_ZERO, 0); cpu->A = 192; mos6502_handle_cmp(cpu, 3);