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