1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-06-26 04:29:27 +00:00

BIT does not affect the overflow flag in immediate mode - adjust test.

This commit is contained in:
Radosław Kujawa 2017-02-05 21:25:09 +01:00
parent 272c4d0b7b
commit 15c864a339

View File

@ -21,7 +21,6 @@ ATF_TC_BODY(emul_bit, tc)
e.regs.A = 0x40;
ATF_REQUIRE(rom_start(&e, "test_emulation_bit_imm.rom", tc));
ATF_CHECK(!(e.regs.P & P_ZERO));
ATF_CHECK(e.regs.P & P_SIGN_OVERFLOW);
ATF_CHECK(!(e.regs.P & P_NEGATIVE));
/* BIT zero page */
e.regs.A = 0x40;