mirror of
https://github.com/rkujawa/rk65c02.git
synced 2025-01-21 16:30:48 +00:00
IRQ disable flag is present by default after CPU boot.
This commit is contained in:
parent
c1a63b011f
commit
ca291b0336
@ -557,7 +557,7 @@ ATF_TC_BODY(emul_php_plp, tc)
|
|||||||
ATF_REQUIRE(rom_start(&e, "test_emulation_php.rom", tc));
|
ATF_REQUIRE(rom_start(&e, "test_emulation_php.rom", tc));
|
||||||
|
|
||||||
ATF_CHECK(e.regs.SP == 0xFE);
|
ATF_CHECK(e.regs.SP == 0xFE);
|
||||||
ATF_CHECK(bus_read_1(e.bus, STACK_END) == (P_CARRY|P_ZERO|P_UNDEFINED));
|
ATF_CHECK(bus_read_1(e.bus, STACK_END) == (P_IRQ_DISABLE|P_CARRY|P_ZERO|P_UNDEFINED));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Now let's see if loading back into accumulator works.
|
* Now let's see if loading back into accumulator works.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user