coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ops.c File Reference
#include "x86emui.h"
Include dependency graph for ops.c:

Go to the source code of this file.

Functions

static void x86emuOp_illegal_op (u8 op1)
 
static void x86emuOp_genop_byte_RM_R (u8 op1)
 
static void x86emuOp_genop_word_RM_R (u8 op1)
 
static void x86emuOp_genop_byte_R_RM (u8 op1)
 
static void x86emuOp_genop_word_R_RM (u8 op1)
 
static void x86emuOp_genop_byte_AL_IMM (u8 op1)
 
static void x86emuOp_genop_word_AX_IMM (u8 op1)
 
static void x86emuOp_push_ES (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pop_ES (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_push_CS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_two_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_push_SS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pop_SS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_push_DS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pop_DS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_ES (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_daa (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_CS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_das (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_SS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_aaa (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_DS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_aas (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_inc_register (u8 op1)
 
static void x86emuOp_dec_register (u8 op1)
 
static void x86emuOp_push_register (u8 op1)
 
static void x86emuOp_pop_register (u8 op1)
 
static void x86emuOp_push_all (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pop_all (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_FS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_segovr_GS (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_prefix_data (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_prefix_addr (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_push_word_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_imul_word_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_push_byte_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_imul_byte_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ins_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ins_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_outs_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_outs_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_jump_near_cond (u8 op1)
 
static void x86emuOp_opc80_byte_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opc81_word_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opc82_byte_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opc83_word_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_test_byte_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_test_word_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_xchg_byte_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_xchg_word_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_byte_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_word_RM_R (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_byte_R_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_word_R_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_word_RM_SR (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lea_word_R_M (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_word_SR_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pop_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_nop (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_xchg_word_AX_register (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cbw (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cwd (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_call_far_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_wait (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_pushf_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_popf_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_sahf (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lahf (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_AL_M_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_AX_M_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_M_AL_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_M_AX_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_movs_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_movs_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cmps_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cmps_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_test_AL_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_test_AX_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_stos_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_stos_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lods_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lods_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_scas_byte (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_scas_word (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_byte_register_IMM (u8 op1)
 
static void x86emuOp_mov_word_register_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcC0_byte_RM_MEM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcC1_word_RM_MEM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ret_near_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ret_near (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_les_R_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lds_R_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_byte_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_mov_word_RM_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_enter (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_leave (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ret_far_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_ret_far (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_int3 (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_int_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_into (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_iret (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcD0_byte_RM_1 (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcD1_word_RM_1 (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcD2_byte_RM_CL (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcD3_word_RM_CL (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_aam (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_aad (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_xlat (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_loopne (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_loope (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_loop (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_jcxz (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_in_byte_AL_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_in_word_AX_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_out_byte_IMM_AL (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_out_word_IMM_AX (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_call_near_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_jump_near_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_jump_far_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_jump_byte_IMM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_in_byte_AL_DX (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_in_word_AX_DX (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_out_byte_DX_AL (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_out_word_DX_AX (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_lock (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_repne (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_repe (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_halt (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cmc (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcF6_byte_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcF7_word_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_clc (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_stc (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cli (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_sti (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_cld (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_std (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcFE_byte_RM (u8 X86EMU_UNUSED(op1))
 
static void x86emuOp_opcFF_word_RM (u8 X86EMU_UNUSED(op1))
 

Variables

static u8(* genop_byte_operation [])(u8 d, u8 s)
 
static u16(* genop_word_operation [])(u16 d, u16 s)
 
static u32(* genop_long_operation [])(u32 d, u32 s)
 
static u8(* opcD0_byte_operation [])(u8 d, u8 s)
 
static u16(* opcD1_word_operation [])(u16 s, u8 d)
 
static u32(* opcD1_long_operation [])(u32 s, u8 d)
 
void(* x86emu_optab [256])(u8)
 

Function Documentation

◆ x86emuOp_aaa()

static void x86emuOp_aaa ( u8   X86EMU_UNUSEDop1)
static

Definition at line 637 of file ops.c.

References aaa_word(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_aad()

static void x86emuOp_aad ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4046 of file ops.c.

References aad_word(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, TRACE_AND_STEP, and X86EMU_UNUSED.

Here is the call graph for this function:

◆ x86emuOp_aam()

static void x86emuOp_aam ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4023 of file ops.c.

References aam_word(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, fetch_byte_imm(), HALT_SYS, M, START_OF_INSTR, TRACE_AND_STEP, and TRACE_REGS.

Here is the call graph for this function:

◆ x86emuOp_aas()

static void x86emuOp_aas ( u8   X86EMU_UNUSEDop1)
static

Definition at line 665 of file ops.c.

References aas_word(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_call_far_IMM()

static void x86emuOp_call_far_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_call_near_IMM()

static void x86emuOp_call_near_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cbw()

static void x86emuOp_cbw ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_clc()

static void x86emuOp_clc ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cld()

static void x86emuOp_cld ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cli()

static void x86emuOp_cli ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cmc()

static void x86emuOp_cmc ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cmps_byte()

static void x86emuOp_cmps_byte ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_cmps_word()

◆ x86emuOp_cwd()

static void x86emuOp_cwd ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_daa()

static void x86emuOp_daa ( u8   X86EMU_UNUSEDop1)
static

Definition at line 581 of file ops.c.

References daa_byte(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_das()

static void x86emuOp_das ( u8   X86EMU_UNUSEDop1)
static

Definition at line 609 of file ops.c.

References das_byte(), DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_dec_register()

static void x86emuOp_dec_register ( u8  op1)
static

◆ x86emuOp_enter()

static void x86emuOp_enter ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3491 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), fetch_data_word_abs(), fetch_word_imm(), M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_genop_byte_AL_IMM()

static void x86emuOp_genop_byte_AL_IMM ( u8  op1)
static

Definition at line 403 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), genop_byte_operation, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_genop_byte_R_RM()

static void x86emuOp_genop_byte_R_RM ( u8  op1)
static

◆ x86emuOp_genop_byte_RM_R()

static void x86emuOp_genop_byte_RM_R ( u8  op1)
static

◆ x86emuOp_genop_word_AX_IMM()

static void x86emuOp_genop_word_AX_IMM ( u8  op1)
static

◆ x86emuOp_genop_word_R_RM()

◆ x86emuOp_genop_word_RM_R()

◆ x86emuOp_halt()

static void x86emuOp_halt ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_illegal_op()

static void x86emuOp_illegal_op ( u8  op1)
static

Definition at line 174 of file ops.c.

References DB, DECODE_PRINTF, END_OF_INSTR, HALT_SYS, M, printf, START_OF_INSTR, TRACE_REGS, and X86EMU_halt_sys().

Here is the call graph for this function:

◆ x86emuOp_imul_byte_IMM()

◆ x86emuOp_imul_word_IMM()

◆ x86emuOp_in_byte_AL_DX()

static void x86emuOp_in_byte_AL_DX ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4379 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_in_byte_AL_IMM()

static void x86emuOp_in_byte_AL_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4180 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_in_word_AX_DX()

static void x86emuOp_in_word_AX_DX ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_in_word_AX_IMM()

static void x86emuOp_in_word_AX_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4198 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_inc_register()

static void x86emuOp_inc_register ( u8  op1)
static

◆ x86emuOp_ins_byte()

static void x86emuOp_ins_byte ( u8   X86EMU_UNUSEDop1)
static

Definition at line 1182 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, ins(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_ins_word()

static void x86emuOp_ins_word ( u8   X86EMU_UNUSEDop1)
static

Definition at line 1196 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, ins(), M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_int3()

static void x86emuOp_int3 ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3574 of file ops.c.

References _X86EMU_intrTab, CLEAR_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, F_IF, F_TF, M, mem_access_word(), push_word(), START_OF_INSTR, TRACE_AND_STEP, and X86EMU_UNUSED.

Here is the call graph for this function:

◆ x86emuOp_int_IMM()

static void x86emuOp_int_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_into()

static void x86emuOp_into ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3632 of file ops.c.

References _X86EMU_intrTab, ACCESS_FLAG, CLEAR_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, F_IF, F_OF, F_TF, M, mem_access_word(), push_word(), START_OF_INSTR, TRACE_AND_STEP, and X86EMU_UNUSED.

Here is the call graph for this function:

◆ x86emuOp_iret()

static void x86emuOp_iret ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3661 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_jcxz()

static void x86emuOp_jcxz ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4156 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), JMP_TRACE, M, offset, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_jump_byte_IMM()

static void x86emuOp_jump_byte_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4358 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), JMP_TRACE, M, offset, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_jump_far_IMM()

static void x86emuOp_jump_far_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4331 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_long_imm(), fetch_word_imm(), JMP_TRACE, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_jump_near_cond()

static void x86emuOp_jump_near_cond ( u8  op1)
static

Definition at line 1248 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), JMP_TRACE, M, offset, START_OF_INSTR, TRACE_AND_STEP, and x86emu_check_jump_condition().

Here is the call graph for this function:

◆ x86emuOp_jump_near_IMM()

static void x86emuOp_jump_near_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4302 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_long_imm(), fetch_word_imm(), JMP_TRACE, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_lahf()

static void x86emuOp_lahf ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2415 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_lds_R_IMM()

static void x86emuOp_lds_R_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3367 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_RM_WORD_REGISTER, decode_rmXX_address(), END_OF_INSTR, fetch_data_word(), FETCH_DECODE_MODRM, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_lea_word_R_M()

static void x86emuOp_lea_word_R_M ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_leave()

static void x86emuOp_leave ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3522 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_les_R_IMM()

static void x86emuOp_les_R_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3339 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_RM_WORD_REGISTER, decode_rmXX_address(), END_OF_INSTR, fetch_data_word(), FETCH_DECODE_MODRM, M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_lock()

static void x86emuOp_lock ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4451 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_lods_byte()

static void x86emuOp_lods_byte ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_lods_word()

static void x86emuOp_lods_word ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_loop()

static void x86emuOp_loop ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4132 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, SYSMODE_PREFIX_ADDR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_loope()

static void x86emuOp_loope ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4108 of file ops.c.

References ACCESS_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, F_ZF, fetch_byte_imm(), M, START_OF_INSTR, SYSMODE_PREFIX_ADDR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_loopne()

static void x86emuOp_loopne ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4084 of file ops.c.

References ACCESS_FLAG, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, F_ZF, fetch_byte_imm(), M, START_OF_INSTR, SYSMODE_PREFIX_ADDR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_AL_M_IMM()

static void x86emuOp_mov_AL_M_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2432 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_data_byte(), fetch_word_imm(), M, offset, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_AX_M_IMM()

static void x86emuOp_mov_AX_M_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2450 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_data_long(), fetch_data_word(), fetch_word_imm(), M, offset, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_byte_R_RM()

static void x86emuOp_mov_byte_R_RM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_byte_register_IMM()

static void x86emuOp_mov_byte_register_IMM ( u8  op1)
static

Definition at line 3075 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, DECODE_RM_BYTE_REGISTER, END_OF_INSTR, fetch_byte_imm(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_byte_RM_IMM()

static void x86emuOp_mov_byte_RM_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_byte_RM_R()

static void x86emuOp_mov_byte_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_M_AL_IMM()

static void x86emuOp_mov_M_AL_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2475 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_word_imm(), M, offset, START_OF_INSTR, store_data_byte(), and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_M_AX_IMM()

static void x86emuOp_mov_M_AX_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2493 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_word_imm(), M, offset, START_OF_INSTR, store_data_long(), store_data_word(), SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_mov_word_R_RM()

static void x86emuOp_mov_word_R_RM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_word_register_IMM()

static void x86emuOp_mov_word_register_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_word_RM_IMM()

◆ x86emuOp_mov_word_RM_R()

static void x86emuOp_mov_word_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_word_RM_SR()

static void x86emuOp_mov_word_RM_SR ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_mov_word_SR_RM()

static void x86emuOp_mov_word_SR_RM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_movs_byte()

static void x86emuOp_movs_byte ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_movs_word()

static void x86emuOp_movs_word ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_nop()

static void x86emuOp_nop ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2186 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_opc80_byte_RM_IMM()

static void x86emuOp_opc80_byte_RM_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opc81_word_RM_IMM()

◆ x86emuOp_opc82_byte_RM_IMM()

static void x86emuOp_opc82_byte_RM_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opc83_word_RM_IMM()

◆ x86emuOp_opcC0_byte_RM_MEM()

static void x86emuOp_opcC0_byte_RM_MEM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opcC1_word_RM_MEM()

◆ x86emuOp_opcD0_byte_RM_1()

static void x86emuOp_opcD0_byte_RM_1 ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opcD1_word_RM_1()

◆ x86emuOp_opcD2_byte_RM_CL()

static void x86emuOp_opcD2_byte_RM_CL ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opcD3_word_RM_CL()

◆ x86emuOp_opcF6_byte_RM()

◆ x86emuOp_opcF7_word_RM()

◆ x86emuOp_opcFE_byte_RM()

static void x86emuOp_opcFE_byte_RM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_opcFF_word_RM()

◆ x86emuOp_out_byte_DX_AL()

static void x86emuOp_out_byte_DX_AL ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4415 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_out_byte_IMM_AL()

static void x86emuOp_out_byte_IMM_AL ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4224 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_out_word_DX_AX()

static void x86emuOp_out_word_DX_AX ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_out_word_IMM_AX()

static void x86emuOp_out_word_IMM_AX ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4242 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_outs_byte()

static void x86emuOp_outs_byte ( u8   X86EMU_UNUSEDop1)
static

Definition at line 1215 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, outs(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_outs_word()

static void x86emuOp_outs_word ( u8   X86EMU_UNUSEDop1)
static

Definition at line 1229 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, outs(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_pop_all()

static void x86emuOp_pop_all ( u8   X86EMU_UNUSEDop1)
static

Definition at line 823 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_long(), pop_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_pop_DS()

static void x86emuOp_pop_DS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 550 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_pop_ES()

static void x86emuOp_pop_ES ( u8   X86EMU_UNUSEDop1)
static

Definition at line 469 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_pop_register()

static void x86emuOp_pop_register ( u8  op1)
static

◆ x86emuOp_pop_RM()

static void x86emuOp_pop_RM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_pop_SS()

static void x86emuOp_pop_SS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 522 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_popf_word()

static void x86emuOp_popf_word ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2376 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_long(), pop_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_prefix_addr()

static void x86emuOp_prefix_addr ( u8   X86EMU_UNUSEDop1)
static

Definition at line 910 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_PREFIX_ADDR, and TRACE_AND_STEP.

◆ x86emuOp_prefix_data()

static void x86emuOp_prefix_data ( u8   X86EMU_UNUSEDop1)
static

Definition at line 896 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

◆ x86emuOp_push_all()

static void x86emuOp_push_all ( u8   X86EMU_UNUSEDop1)
static

Definition at line 783 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_long(), push_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_byte_IMM()

static void x86emuOp_push_byte_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 1056 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, push_long(), push_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_CS()

static void x86emuOp_push_CS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 483 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_DS()

static void x86emuOp_push_DS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 536 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_ES()

static void x86emuOp_push_ES ( u8   X86EMU_UNUSEDop1)
static

Definition at line 455 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_register()

static void x86emuOp_push_register ( u8  op1)
static

◆ x86emuOp_push_SS()

static void x86emuOp_push_SS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 508 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, push_word(), START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_push_word_IMM()

static void x86emuOp_push_word_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 924 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF2, END_OF_INSTR, fetch_long_imm(), fetch_word_imm(), M, push_long(), push_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_pushf_word()

static void x86emuOp_pushf_word ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2349 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, F_ALWAYS_ON, F_MSK, M, push_long(), push_word(), START_OF_INSTR, SYSMODE_PREFIX_DATA, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_repe()

static void x86emuOp_repe ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_repne()

static void x86emuOp_repne ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_ret_far()

static void x86emuOp_ret_far ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3558 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), RETURN_TRACE, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_ret_far_IMM()

static void x86emuOp_ret_far_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3537 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_word_imm(), M, pop_word(), RETURN_TRACE, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_ret_near()

static void x86emuOp_ret_near ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3324 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, pop_word(), RETURN_TRACE, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_ret_near_IMM()

static void x86emuOp_ret_near_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 3304 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_word_imm(), M, pop_word(), RETURN_TRACE, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_sahf()

static void x86emuOp_sahf ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2398 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_scas_byte()

static void x86emuOp_scas_byte ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_scas_word()

static void x86emuOp_scas_word ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_segovr_CS()

static void x86emuOp_segovr_CS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 595 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_CS, and TRACE_AND_STEP.

◆ x86emuOp_segovr_DS()

static void x86emuOp_segovr_DS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 651 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_DS, and TRACE_AND_STEP.

◆ x86emuOp_segovr_ES()

static void x86emuOp_segovr_ES ( u8   X86EMU_UNUSEDop1)
static

Definition at line 564 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_ES, and TRACE_AND_STEP.

◆ x86emuOp_segovr_FS()

static void x86emuOp_segovr_FS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 862 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_FS, and TRACE_AND_STEP.

◆ x86emuOp_segovr_GS()

static void x86emuOp_segovr_GS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 879 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_GS, and TRACE_AND_STEP.

◆ x86emuOp_segovr_SS()

static void x86emuOp_segovr_SS ( u8   X86EMU_UNUSEDop1)
static

Definition at line 623 of file ops.c.

References DECODE_PRINTF, END_OF_INSTR, M, START_OF_INSTR, SYSMODE_SEGOVR_SS, and TRACE_AND_STEP.

◆ x86emuOp_stc()

static void x86emuOp_stc ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_std()

static void x86emuOp_std ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_sti()

static void x86emuOp_sti ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_stos_byte()

static void x86emuOp_stos_byte ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_stos_word()

static void x86emuOp_stos_word ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_test_AL_IMM()

static void x86emuOp_test_AL_IMM ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2719 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, DECODE_PRINTF2, END_OF_INSTR, fetch_byte_imm(), M, START_OF_INSTR, test_byte(), and TRACE_AND_STEP.

Here is the call graph for this function:

◆ x86emuOp_test_AX_IMM()

static void x86emuOp_test_AX_IMM ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_test_byte_RM_R()

static void x86emuOp_test_byte_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_test_word_RM_R()

static void x86emuOp_test_word_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_two_byte()

static void x86emuOp_two_byte ( u8   X86EMU_UNUSEDop1)
static

Definition at line 497 of file ops.c.

References INC_DECODED_INST_LEN, M, and x86emu_optab2.

◆ x86emuOp_wait()

static void x86emuOp_wait ( u8   X86EMU_UNUSEDop1)
static

Definition at line 2335 of file ops.c.

References DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, START_OF_INSTR, and TRACE_AND_STEP.

◆ x86emuOp_xchg_byte_RM_R()

static void x86emuOp_xchg_byte_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_xchg_word_AX_register()

static void x86emuOp_xchg_word_AX_register ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_xchg_word_RM_R()

static void x86emuOp_xchg_word_RM_R ( u8   X86EMU_UNUSEDop1)
static

◆ x86emuOp_xlat()

static void x86emuOp_xlat ( u8   X86EMU_UNUSEDop1)
static

Definition at line 4065 of file ops.c.

References addr, DECODE_CLEAR_SEGOVR, DECODE_PRINTF, END_OF_INSTR, fetch_data_byte(), M, START_OF_INSTR, and TRACE_AND_STEP.

Here is the call graph for this function:

Variable Documentation

◆ genop_byte_operation

u8(* genop_byte_operation[])(u8 d, u8 s) ( u8  d,
u8  s 
)
static
Initial value:
=
{
}
u8 or_byte(u8 d, u8 s)
Definition: prim_ops.c:616
u8 add_byte(u8 d, u8 s)
Definition: prim_ops.c:355
u8 xor_byte(u8 d, u8 s)
Definition: prim_ops.c:1842
u8 cmp_byte(u8 d, u8 s)
Definition: prim_ops.c:443
u8 sbb_byte(u8 d, u8 s)
Definition: prim_ops.c:1664
u8 sub_byte(u8 d, u8 s)
Definition: prim_ops.c:1734
u8 and_byte(u8 d, u8 s)
Definition: prim_ops.c:402
u8 adc_byte(u8 d, u8 s)
Definition: prim_ops.c:292

Definition at line 85 of file ops.c.

Referenced by x86emuOp_genop_byte_AL_IMM(), x86emuOp_genop_byte_R_RM(), x86emuOp_genop_byte_RM_R(), x86emuOp_opc80_byte_RM_IMM(), and x86emuOp_opc82_byte_RM_IMM().

◆ genop_long_operation

u32(* genop_long_operation[])(u32 d, u32 s) ( u32  d,
u32  s 
)
static
Initial value:
=
{
}
u32 cmp_long(u32 d, u32 s)
Definition: prim_ops.c:473
u32 add_long(u32 d, u32 s)
Definition: prim_ops.c:385
u32 sbb_long(u32 d, u32 s)
Definition: prim_ops.c:1710
u32 or_long(u32 d, u32 s)
Definition: prim_ops.c:643
u32 sub_long(u32 d, u32 s)
Definition: prim_ops.c:1774
u32 xor_long(u32 d, u32 s)
Definition: prim_ops.c:1868
u32 adc_long(u32 d, u32 s)
Definition: prim_ops.c:327
u32 and_long(u32 d, u32 s)
Definition: prim_ops.c:430

Definition at line 109 of file ops.c.

Referenced by x86emuOp_genop_word_AX_IMM(), x86emuOp_genop_word_R_RM(), x86emuOp_genop_word_RM_R(), x86emuOp_opc81_word_RM_IMM(), and x86emuOp_opc83_word_RM_IMM().

◆ genop_word_operation

u16(* genop_word_operation[])(u16 d, u16 s) ( u16  d,
u16  s 
)
static
Initial value:
=
{
}
u16 sub_word(u16 d, u16 s)
Definition: prim_ops.c:1754
u16 adc_word(u16 d, u16 s)
Definition: prim_ops.c:309
u16 cmp_word(u16 d, u16 s)
Definition: prim_ops.c:458
u16 or_word(u16 d, u16 s)
Definition: prim_ops.c:630
u16 sbb_word(u16 d, u16 s)
Definition: prim_ops.c:1687
u16 and_word(u16 d, u16 s)
Definition: prim_ops.c:416
u16 xor_word(u16 d, u16 s)
Definition: prim_ops.c:1855
u16 add_word(u16 d, u16 s)
Definition: prim_ops.c:370

Definition at line 97 of file ops.c.

Referenced by x86emuOp_genop_word_AX_IMM(), x86emuOp_genop_word_R_RM(), x86emuOp_genop_word_RM_R(), x86emuOp_opc81_word_RM_IMM(), and x86emuOp_opc83_word_RM_IMM().

◆ opcD0_byte_operation

u8(* opcD0_byte_operation[])(u8 d, u8 s) ( u8  d,
u8  s 
)
static
Initial value:
=
{
}
u8 sar_byte(u8 d, u8 s)
Definition: prim_ops.c:1411
u8 shl_byte(u8 d, u8 s)
Definition: prim_ops.c:1192
u8 rcl_byte(u8 d, u8 s)
Definition: prim_ops.c:731
u8 shr_byte(u8 d, u8 s)
Definition: prim_ops.c:1307
u8 rol_byte(u8 d, u8 s)
Definition: prim_ops.c:1001
u8 rcr_byte(u8 d, u8 s)
Definition: prim_ops.c:852
u8 ror_byte(u8 d, u8 s)
Definition: prim_ops.c:1100

Definition at line 122 of file ops.c.

Referenced by x86emuOp_opcC0_byte_RM_MEM(), x86emuOp_opcD0_byte_RM_1(), and x86emuOp_opcD2_byte_RM_CL().

◆ opcD1_long_operation

u32(* opcD1_long_operation[])(u32 s, u8 d) ( u32  s,
u8  d 
)
static
Initial value:
=
{
}
u32 shr_long(u32 d, u8 s)
Definition: prim_ops.c:1377
u32 rcl_long(u32 d, u8 s)
Definition: prim_ops.c:828
u32 sar_long(u32 d, u8 s)
Definition: prim_ops.c:1487
u32 ror_long(u32 d, u8 s)
Definition: prim_ops.c:1169
u32 rol_long(u32 d, u8 s)
Definition: prim_ops.c:1075
u32 rcr_long(u32 d, u8 s)
Definition: prim_ops.c:968
u32 shl_long(u32 d, u8 s)
Definition: prim_ops.c:1272

Definition at line 148 of file ops.c.

Referenced by x86emuOp_opcC1_word_RM_MEM(), x86emuOp_opcD1_word_RM_1(), and x86emuOp_opcD3_word_RM_CL().

◆ opcD1_word_operation

u16(* opcD1_word_operation[])(u16 s, u8 d) ( u16  s,
u8  d 
)
static
Initial value:
=
{
}
u16 shl_word(u16 d, u8 s)
Definition: prim_ops.c:1234
u16 ror_word(u16 d, u8 s)
Definition: prim_ops.c:1146
u16 sar_word(u16 d, u8 s)
Definition: prim_ops.c:1449
u16 shr_word(u16 d, u8 s)
Definition: prim_ops.c:1342
u16 rol_word(u16 d, u8 s)
Definition: prim_ops.c:1050
u16 rcr_word(u16 d, u8 s)
Definition: prim_ops.c:936
u16 rcl_word(u16 d, u8 s)
Definition: prim_ops.c:804

Definition at line 135 of file ops.c.

Referenced by x86emuOp_opcC1_word_RM_MEM(), x86emuOp_opcD1_word_RM_1(), and x86emuOp_opcD3_word_RM_CL().

◆ x86emu_optab

void(* x86emu_optab[256])(u8) ( u8  op1)

Definition at line 5224 of file ops.c.

Referenced by X86EMU_exec().