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