1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-29 11:55:01 +00:00

No need to deal with carry here

This commit is contained in:
Peter Evans 2018-01-27 00:15:06 -06:00
parent 9bbfb95b02
commit dde7312864

View File

@ -33,7 +33,6 @@ Test(mos6502_addr, addr_mode_abx_carry0)
SET_PC_BYTE(cpu, 1, 0x30);
SET_PC_BYTE(cpu, 2, 0x12);
cpu->X = 4;
cpu->P = cpu->P & ~MOS_CARRY;
cr_assert_eq(mos6502_resolve_abx(cpu), 111);
}
@ -52,7 +51,6 @@ Test(mos6502_addr, addr_mode_aby_carry0)
SET_PC_BYTE(cpu, 1, 0x30);
SET_PC_BYTE(cpu, 2, 0x12);
cpu->Y = 4;
cpu->P = cpu->P & ~MOS_CARRY;
cr_assert_eq(mos6502_resolve_aby(cpu), 111);
}
@ -88,7 +86,6 @@ 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);
}