jcc.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 jcc.c:

Defines

#define OF_IS_ONE(cpu)   (CPU_FLAG_ISSET(cpu, f_of) != 0)
#define OF_IS_ZERO(cpu)   (CPU_FLAG_ISSET(cpu, f_of) == 0)
#define OF_IS(cpu)   (CPU_FLAG_ISSET(cpu, f_of)?1:0)
#define CF_IS_ONE(cpu)   (CPU_FLAG_ISSET(cpu, f_cf) != 0)
#define CF_IS_ZERO(cpu)   (CPU_FLAG_ISSET(cpu, f_cf) == 0)
#define ZF_IS_ONE(cpu)   (CPU_FLAG_ISSET(cpu, f_zf) != 0)
#define ZF_IS_ZERO(cpu)   (CPU_FLAG_ISSET(cpu, f_zf) == 0)
#define SF_IS_ONE(cpu)   (CPU_FLAG_ISSET(cpu, f_sf) != 0)
#define SF_IS_ZERO(cpu)   (CPU_FLAG_ISSET(cpu, f_sf) == 0)
#define SF_IS(cpu)   (CPU_FLAG_ISSET(cpu, f_sf)?1:0)
#define PF_IS_ONE(cpu)   (CPU_FLAG_ISSET(cpu, f_pf) != 0)
#define PF_IS_ZERO(cpu)   (CPU_FLAG_ISSET(cpu, f_pf) == 0)

Functions

int32_t instr_jcc_70 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_71 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_72 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_73 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_setcc_0f94 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_setcc_0f95 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_74 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_75 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_76 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_77 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_78 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_79 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7a (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7b (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7c (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7d (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7e (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_7f (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_e3 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f80 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f81 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f82 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f83 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f84 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f85 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f86 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f87 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f88 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f89 (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8a (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8b (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8c (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8d (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8e (struct emu_cpu *c, struct emu_cpu_instruction *i)
int32_t instr_jcc_0f8f (struct emu_cpu *c, struct emu_cpu_instruction *i)

Define Documentation

#define CF_IS_ONE ( cpu   )     (CPU_FLAG_ISSET(cpu, f_cf) != 0)
#define CF_IS_ZERO ( cpu   )     (CPU_FLAG_ISSET(cpu, f_cf) == 0)
#define OF_IS ( cpu   )     (CPU_FLAG_ISSET(cpu, f_of)?1:0)
#define OF_IS_ONE ( cpu   )     (CPU_FLAG_ISSET(cpu, f_of) != 0)

Referenced by instr_jcc_0f80(), and instr_jcc_70().

#define OF_IS_ZERO ( cpu   )     (CPU_FLAG_ISSET(cpu, f_of) == 0)

Referenced by instr_jcc_0f81(), and instr_jcc_71().

#define PF_IS_ONE ( cpu   )     (CPU_FLAG_ISSET(cpu, f_pf) != 0)

Referenced by instr_jcc_0f8a(), and instr_jcc_7a().

#define PF_IS_ZERO ( cpu   )     (CPU_FLAG_ISSET(cpu, f_pf) == 0)

Referenced by instr_jcc_0f8b(), and instr_jcc_7b().

#define SF_IS ( cpu   )     (CPU_FLAG_ISSET(cpu, f_sf)?1:0)
#define SF_IS_ONE ( cpu   )     (CPU_FLAG_ISSET(cpu, f_sf) != 0)

Referenced by instr_jcc_0f88(), and instr_jcc_78().

#define SF_IS_ZERO ( cpu   )     (CPU_FLAG_ISSET(cpu, f_sf) == 0)

Referenced by instr_jcc_0f89(), and instr_jcc_79().

#define ZF_IS_ONE ( cpu   )     (CPU_FLAG_ISSET(cpu, f_zf) != 0)
#define ZF_IS_ZERO ( cpu   )     (CPU_FLAG_ISSET(cpu, f_zf) == 0)

Function Documentation

int32_t instr_jcc_0f80 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f81 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f82 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f83 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f84 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f85 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f86 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f87 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f88 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f89 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8a ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8b ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8c ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8d ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8e ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_0f8f ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_70 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_71 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_72 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_73 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_74 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_75 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_76 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_77 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_78 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_79 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7a ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7b ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7c ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7d ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7e ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_7f ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_jcc_e3 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_setcc_0f94 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)
int32_t instr_setcc_0f95 ( struct emu_cpu c,
struct emu_cpu_instruction i 
)

Generated on Sun Jan 9 16:50:14 2011 for libemu by  doxygen 1.6.1