#include "x86emu/x86emui.h"
Defines | |
#define | xorl(a, b) ((a) && !(b)) || (!(a) && (b)) |
Functions | |
static void | x86emuOp2_illegal_op (u8 op2) |
static void | x86emuOp2_long_jump (u8 op2) |
static void | x86emuOp2_set_byte (u8 op2) |
static void | x86emuOp2_push_FS (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_pop_FS (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_bt_R (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_shld_IMM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_shld_CL (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_push_GS (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_pop_GS (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_shrd_IMM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_shrd_CL (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_imul_R_RM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_lss_R_IMM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_btr_R (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_lfs_R_IMM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_lgs_R_IMM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_movzx_byte_R_RM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_movzx_word_R_RM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_btX_I (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_btc_R (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_bsf (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_bsr (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_movsx_byte_R_RM (u8 X86EMU_UNUSED(op2)) |
static void | x86emuOp2_movsx_word_R_RM (u8 X86EMU_UNUSED(op2)) |
Variables | |
void(* | x86emu_optab2 [256])(u8) |
#define xorl | ( | a, | |||
b | ) | ((a) && !(b)) || (!(a) && (b)) |
Referenced by x86emuOp2_long_jump(), and x86emuOp2_set_byte().
static void x86emuOp2_bsf | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_ZF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_bsr | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_ZF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_bt_R | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_CF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, s16, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_btc_R | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_CF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, s16, START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_btr_R | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_CF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, s16, START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_btX_I | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CONDITIONAL_SET_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_CF, fetch_byte_imm(), fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, HALT_SYS, M, printk(), START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, TRACE_REGS, u16, u32, u8, and uint.
static void x86emuOp2_illegal_op | ( | u8 | op2 | ) | [static] |
References DECODE_PRINTF, END_OF_INSTR, HALT_SYS, M, printk(), START_OF_INSTR, and TRACE_REGS.
static void x86emuOp2_imul_R_RM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References CLEAR_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, F_CF, F_OF, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, imul_long_direct(), M, s16, s32, SET_FLAG, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_lfs_R_IMM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
static void x86emuOp2_lgs_R_IMM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
static void x86emuOp2_long_jump | ( | u8 | op2 | ) | [static] |
References ACCESS_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, F_CF, F_OF, F_PF, F_SF, F_ZF, fetch_word_imm(), M, s16, s32, START_OF_INSTR, TRACE_AND_STEP, u16, void(), and xorl.
static void x86emuOp2_lss_R_IMM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
static void x86emuOp2_movsx_byte_R_RM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_BYTE_REGISTER, DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_data_byte(), FETCH_DECODE_MODRM, M, s16, s32, s8, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, u8, and uint.
static void x86emuOp2_movsx_word_R_RM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
static void x86emuOp2_movzx_byte_R_RM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_BYTE_REGISTER, DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_data_byte(), FETCH_DECODE_MODRM, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, u8, and uint.
static void x86emuOp2_movzx_word_R_RM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
static void x86emuOp2_pop_FS | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.
static void x86emuOp2_pop_GS | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.
static void x86emuOp2_push_FS | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.
static void x86emuOp2_push_GS | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.
static void x86emuOp2_set_byte | ( | u8 | op2 | ) | [static] |
static void x86emuOp2_shld_CL | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, shld_long(), shld_word(), START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_shld_IMM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_byte_imm(), fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, shld_long(), shld_word(), START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, u8, and uint.
static void x86emuOp2_shrd_CL | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, shrd_long(), shrd_word(), START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, and uint.
static void x86emuOp2_shrd_IMM | ( | u8 | X86EMU_UNUSEDop2 | ) | [static] |
References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, decode_rm00_address(), decode_rm01_address(), decode_rm10_address(), DECODE_RM_LONG_REGISTER, DECODE_RM_WORD_REGISTER, END_OF_INSTR, fetch_byte_imm(), fetch_data_long(), fetch_data_word(), FETCH_DECODE_MODRM, M, shrd_long(), shrd_word(), START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, TRACE_AND_STEP, u16, u32, u8, and uint.
void(* x86emu_optab2[256])(u8) |
Referenced by x86emuOp_two_byte().