1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-01-02 09:29:58 +00:00

Carry must be unset

This commit is contained in:
Peter Evans 2018-01-23 16:26:05 -06:00
parent 522905b39c
commit b02679f6a0

View File

@ -88,6 +88,7 @@ Test(mos6502_addr, addr_mode_idy)
SET_PC_BYTE(cpu, 1, 0x12);
cpu->Y = 5;
cpu->P &= ~MOS_CARRY;
cr_assert_eq(mos6502_resolve_idy(cpu), 123);
}