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:
parent
522905b39c
commit
b02679f6a0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user