1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-11 05:29:33 +00:00

This macro was no longer needed

This commit is contained in:
Peter Evans 2017-12-06 21:26:09 -06:00
parent 8cd9c5ffab
commit 4af7e4444c

View File

@ -10,14 +10,6 @@
*/
#define MOS6502_MEMSIZE 65536
#define SET_ARITH_STATUS(v) \
cpu->P &= ~NEGATIVE; \
cpu->P &= ~ZERO; \
cpu->P &= ~CARRY; \
if ((v) == 0) cpu->P |= ZERO; \
if ((v) > 0) cpu->P |= CARRY; \
if ((v) & 0x80) cpu->P |= NEGATIVE
#define SET_PC_BYTE(cpu, off, byte) \
vm_segment_set(cpu->memory, cpu->PC + off, byte)