|
PZ80emu
0.1
|
#include "exchange.h"
Functions | |
| void | _ex_reg16 (word *reg1, word *reg2) |
| void | _exx (struct z80 *cpu) |
| void | _ex_sp_reg16 (word *reg, struct z80 *cpu, uint8_t *memory) |
exchange two 16-bit registers
| reg1 | first register |
| reg2 | second register |
exchange contents of a register pair with memory pointed to by SP
| reg | register to operate on |
| cpu | z80 cpu object |
| memory | pointer to allocated memory |