mirror of
https://github.com/rkujawa/rk65c02.git
synced 2025-01-10 18:29:53 +00:00
BIT does not affect the overflow flag in immediate mode - adjust test.
This commit is contained in:
parent
272c4d0b7b
commit
15c864a339
@ -21,7 +21,6 @@ ATF_TC_BODY(emul_bit, tc)
|
|||||||
e.regs.A = 0x40;
|
e.regs.A = 0x40;
|
||||||
ATF_REQUIRE(rom_start(&e, "test_emulation_bit_imm.rom", tc));
|
ATF_REQUIRE(rom_start(&e, "test_emulation_bit_imm.rom", tc));
|
||||||
ATF_CHECK(!(e.regs.P & P_ZERO));
|
ATF_CHECK(!(e.regs.P & P_ZERO));
|
||||||
ATF_CHECK(e.regs.P & P_SIGN_OVERFLOW);
|
|
||||||
ATF_CHECK(!(e.regs.P & P_NEGATIVE));
|
ATF_CHECK(!(e.regs.P & P_NEGATIVE));
|
||||||
/* BIT zero page */
|
/* BIT zero page */
|
||||||
e.regs.A = 0x40;
|
e.regs.A = 0x40;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user