mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
style changes
This commit is contained in:
parent
0985655ac7
commit
ad003e5991
@ -215,7 +215,9 @@ int PrintCycles;
|
||||
ZPAddr = MemReadByte (Regs.PC+1); \
|
||||
Addr = MemReadZPWord (ZPAddr); \
|
||||
if (PAGE_CROSS (Addr, Regs.YR)) \
|
||||
{ \
|
||||
++Cycles; \
|
||||
} \
|
||||
Addr += Regs.YR; \
|
||||
Regs.AC = Regs.AC op MemReadByte (Addr); \
|
||||
TEST_ZF (Regs.AC); \
|
||||
@ -258,7 +260,9 @@ int PrintCycles;
|
||||
TEST_CF (Regs.AC); \
|
||||
SET_OF ((res < -128) || (res > 127)); \
|
||||
if (CPU != CPU_6502) \
|
||||
{ \
|
||||
++Cycles; \
|
||||
} \
|
||||
} else { \
|
||||
Regs.AC += rhs + GET_CF (); \
|
||||
TEST_ZF (Regs.AC); \
|
||||
@ -339,7 +343,9 @@ int PrintCycles;
|
||||
SET_CF (res <= 0xFF); \
|
||||
SET_OF (((old^rhs) & (old^res) & 0x80)); \
|
||||
if (CPU != CPU_6502) \
|
||||
{ \
|
||||
++Cycles; \
|
||||
} \
|
||||
} else { \
|
||||
Regs.AC -= rhs + (!GET_CF ()); \
|
||||
TEST_ZF (Regs.AC); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user