1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-08-02 10:24:33 +00:00

Rename status flags to MOS_

This commit is contained in:
Peter Evans
2018-01-05 14:18:39 -06:00
parent 2da613f7aa
commit 1de1e7788a
17 changed files with 166 additions and 163 deletions

View File

@@ -58,7 +58,7 @@ Test(mos6502_addr, addr_mode_abx_carry1)
SET_PC_BYTE(cpu, 0, 0x12);
SET_PC_BYTE(cpu, 1, 0x30);
cpu->X = 3;
cpu->P = cpu->P | CARRY;
cpu->P = cpu->P | MOS_CARRY;
cr_assert_eq(mos6502_resolve_abx(cpu), 111);
}
@@ -77,7 +77,7 @@ Test(mos6502_addr, addr_mode_aby_carry1)
SET_PC_BYTE(cpu, 0, 0x12);
SET_PC_BYTE(cpu, 1, 0x30);
cpu->Y = 3;
cpu->P = cpu->P | CARRY;
cpu->P = cpu->P | MOS_CARRY;
cr_assert_eq(mos6502_resolve_aby(cpu), 111);
}