add.c File Reference

#include <stdint.h>
#include "emu/emu_cpu.h"
#include "emu/emu_cpu_data.h"
#include "emu/emu_memory.h"
Include dependency graph for add.c:

Defines

#define INSTR_CALC_AND_SET_FLAGS(bits, cpu, a, b, c, operation)
#define TRACK_INIT_ALL_FLAGS(instruction_p)

Functions

int32_t instr_add_00 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_add_01 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_add_02 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_add_03 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_add_04 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_add_05 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_group_1_80_add (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_group_1_81_add (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_group_1_83_add (struct emu_cpu *c, struct emu_cpu_instruction *i)

Define Documentation

#define INSTR_CALC_AND_SET_FLAGS ( bits,
cpu,
a,
b,
c,
operation   ) 
Value:
INSTR_CALC(bits, a, b, c, operation)                                                            \
INSTR_SET_FLAG_ZF(cpu)                                                                                  \
INSTR_SET_FLAG_PF(cpu)                                                                                  \
INSTR_SET_FLAG_SF(cpu)                                                                                  \
INSTR_SET_FLAG_CF(cpu, operation)                                                               \
INSTR_SET_FLAG_OF(cpu, operation,bits)
#define TRACK_INIT_ALL_FLAGS ( instruction_p   ) 
Value:
TRACK_INIT_EFLAG(instruction_p, f_zf); \
TRACK_INIT_EFLAG(instruction_p, f_pf); \
TRACK_INIT_EFLAG(instruction_p, f_sf); \
TRACK_INIT_EFLAG(instruction_p, f_cf); \
TRACK_INIT_EFLAG(instruction_p, f_of);

Function Documentation

int32_t instr_add_00 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_add_01 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_add_02 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_add_03 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_add_04 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_add_05 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_group_1_80_add ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_group_1_81_add ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_group_1_83_add ( struct emu_cpu c,
struct emu_cpu_instruction i 
)

Generated on Sun Jan 9 16:49:58 2011 for libemu by  doxygen 1.6.1