mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 08:30:55 +00:00
This macro was no longer needed
This commit is contained in:
parent
8cd9c5ffab
commit
4af7e4444c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user