Go to the documentation of this file.
6 #ifndef __PZ80EMU_EXCHANGE__
7 #define __PZ80EMU_EXCHANGE__
__BEGIN_DECLS void _ex_reg16(word *, word *)
Definition: exchange.c:13
word sp
Definition: z80.h:65
void _exx(struct z80 *)
Definition: exchange.c:27
z80 memory class
Definition: memory.h:19
word _bc
Definition: z80.h:62
void _ex_sp_reg16(word *reg, struct z80 *cpu, uint8_t *memory)
Definition: exchange.c:41
void _ex_sp_reg16(word *, struct z80 *, uint8_t *)
Definition: exchange.c:41
z80 CPU data structure and functions
word bc
Definition: z80.h:55
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 _ex_reg16(word *reg1, word *reg2)
Definition: exchange.c:13
word _hl
Definition: z80.h:64
uint16_t W
16-bit pair
Definition: z80.h:22
word de
Definition: z80.h:56
type to deal with endianness and access of high/low bits
Definition: z80.h:21
void _exx(struct z80 *cpu)
Definition: exchange.c:27
word hl
Definition: z80.h:57
word _de
Definition: z80.h:63