Go to the documentation of this file.
6 #ifndef __PZ80EMU_COMPLEMENT__
7 #define __PZ80EMU_COMPLEMENT__
#define CARRY
bit position of CARRY flag
Definition: z80.h:72
__BEGIN_DECLS void _scf(struct z80 *)
Definition: complement.c:14
#define HALF_CARRY
bit position of HALF CARRY flag
Definition: z80.h:76
z80 CPU data structure and functions
void _scf(struct z80 *cpu)
Definition: complement.c:14
uint8_t l
low order byte
Definition: z80.h:31
#define TOGGLE(val, bit)
Toggles a bit.
Definition: utils.h:38
struct word::@0 B
Combination of High and Low bytes in correct order for endianness.
#define RESET(val, bit)
Resets a bit.
Definition: utils.h:31
word af
Definition: z80.h:54
void _ccf(struct z80 *cpu)
Definition: complement.c:26
void _ccf(struct z80 *)
Definition: complement.c:26
#define SUBTRACT
bit position of SUBTRACT flag
Definition: z80.h:73
#define SET(val, bit)
Sets a bit.
Definition: utils.h:24