Go to the documentation of this file.
6 #ifndef __PZ80EMU_BOOLEAN__
7 #define __PZ80EMU_BOOLEAN__
12 void _and(uint8_t *,
struct z80 *);
13 void _xor(uint8_t *,
struct z80 *);
14 void _or(uint8_t *,
struct z80 *);
void _xor(uint8_t *, struct z80 *)
Definition: boolean.c:30
#define CARRY
bit position of CARRY flag
Definition: z80.h:72
void _and(uint8_t *reg, struct z80 *cpu)
Definition: boolean.c:15
void _xor(uint8_t *reg, struct z80 *cpu)
Definition: boolean.c:30
#define HALF_CARRY
bit position of HALF CARRY flag
Definition: z80.h:76
z80 CPU data structure and functions
uint8_t l
low order byte
Definition: z80.h:31
uint8_t h
high order byte
Definition: z80.h:32
struct word::@0 B
Combination of High and Low bytes in correct order for endianness.
void _or(uint8_t *reg, struct z80 *cpu)
Definition: boolean.c:45
__BEGIN_DECLS void _and(uint8_t *, struct z80 *)
Definition: boolean.c:15
#define RESET(val, bit)
Resets a bit.
Definition: utils.h:31
word af
Definition: z80.h:54
void _or(uint8_t *, struct z80 *)
Definition: boolean.c:45
#define SUBTRACT
bit position of SUBTRACT flag
Definition: z80.h:73
#define SET(val, bit)
Sets a bit.
Definition: utils.h:24