mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-03 00:29:38 +00:00
Carry is no longer factored
This commit is contained in:
parent
d29dfd442a
commit
9bbfb95b02
@ -42,7 +42,7 @@ Test(mos6502_addr, addr_mode_abx_carry1)
|
||||
mos6502_set(cpu, 0x1234, 111);
|
||||
SET_PC_BYTE(cpu, 1, 0x30);
|
||||
SET_PC_BYTE(cpu, 2, 0x12);
|
||||
cpu->X = 3;
|
||||
cpu->X = 4;
|
||||
cr_assert_eq(mos6502_resolve_abx(cpu), 111);
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ Test(mos6502_addr, addr_mode_aby_carry1)
|
||||
mos6502_set(cpu, 0x1234, 111);
|
||||
SET_PC_BYTE(cpu, 1, 0x30);
|
||||
SET_PC_BYTE(cpu, 2, 0x12);
|
||||
cpu->Y = 3;
|
||||
cpu->Y = 4;
|
||||
cr_assert_eq(mos6502_resolve_aby(cpu), 111);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user