ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InstructionEnumsX86.h File Reference
#include "AssemblerX86Init.h"
Include dependency graph for InstructionEnumsX86.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  X86InstructionSize {
  x86_insnsize_none,
  x86_insnsize_16,
  x86_insnsize_32,
  x86_insnsize_64
}
 Intel x86 instruction size constants. More...
 
enum  X86RegisterClass {
  x86_regclass_gpr,
  x86_regclass_segment,
  x86_regclass_cr,
  x86_regclass_dr,
  x86_regclass_st,
  x86_regclass_mm,
  x86_regclass_xmm,
  x86_regclass_ip,
  x86_regclass_flags
}
 Intel x86 major register numbers. More...
 
enum  X86SegmentRegister {
  x86_segreg_es = 0,
  x86_segreg_cs = 1,
  x86_segreg_ss = 2,
  x86_segreg_ds = 3,
  x86_segreg_fs = 4,
  x86_segreg_gs = 5,
  x86_segreg_none = 16
}
 Intel x86 segment registers. More...
 
enum  X86GeneralPurposeRegister {
  x86_gpr_ax = 0,
  x86_gpr_cx = 1,
  x86_gpr_dx = 2,
  x86_gpr_bx = 3,
  x86_gpr_sp = 4,
  x86_gpr_bp = 5,
  x86_gpr_si = 6,
  x86_gpr_di = 7,
  x86_gpr_r8 = 8,
  x86_gpr_r9 = 9,
  x86_gpr_r10 = 10,
  x86_gpr_r11 = 11,
  x86_gpr_r12 = 12,
  x86_gpr_r13 = 13,
  x86_gpr_r14 = 14,
  x86_gpr_r15 = 15
}
 Intel x86 general purpose registers. More...
 
enum  X86Flag {
  x86_flag_cf = 0,
  x86_flag_pf = 2,
  x86_flag_af = 4,
  x86_flag_zf = 6,
  x86_flag_sf = 7,
  x86_flag_tf = 8,
  x86_flag_if = 9,
  x86_flag_df = 10,
  x86_flag_of = 11,
  x86_flag_iopl = 12,
  x86_flag_nt = 14,
  x86_flag_rf = 16,
  x86_flag_vm = 17,
  x86_flag_ac = 18,
  x86_flag_vif = 19,
  x86_flag_vip = 20,
  x86_flag_id = 21
}
 Intel x86 status flags. More...
 
enum  X86BranchPrediction {
  x86_branch_prediction_none,
  x86_branch_prediction_taken,
  x86_branch_prediction_not_taken
}
 Intel x86 branch prediction types. More...
 
enum  X86RepeatPrefix {
  x86_repeat_none,
  x86_repeat_repne,
  x86_repeat_repe
}
 Intel x86 instruction repeat prefix. More...
 

Enumeration Type Documentation

Intel x86 instruction size constants.

Enumerator
x86_insnsize_none 
x86_insnsize_16 

Instruction is for a 16-bit architecture.

x86_insnsize_32 

Instruction is for a 32-bit architecture.

x86_insnsize_64 

Instruction is for a 64-bit architecture.

Definition at line 9 of file InstructionEnumsX86.h.

Intel x86 major register numbers.

Enumerator
x86_regclass_gpr 

Minors are X86GeneralPurposeRegister (ax,cx,dx,bx,sp,bp,si,di,r8..r15)

x86_regclass_segment 

Minors are X86SegmentRegister (es,cs,ss,ds,fs,gs)

x86_regclass_cr 

Control registers; Minors are 0-4, 8.

x86_regclass_dr 

Debug registers; Minors are 0-7.

x86_regclass_st 

Floating point stack; Minors are 0-7.

x86_regclass_mm 

64-bit mmN; Minors are 0-7.

Note that these reference low 64 bits of st(i)

x86_regclass_xmm 

128-bit xmmN; Minors are 0-7.

x86_regclass_ip 

Instruction pointer; Only allowed minor is zero.

x86_regclass_flags 

Status flags register; Only allowed minor is zero.

Offset and size determine flag bit(s).

Definition at line 18 of file InstructionEnumsX86.h.

Intel x86 segment registers.

Enumerator
x86_segreg_es 
x86_segreg_cs 
x86_segreg_ss 
x86_segreg_ds 
x86_segreg_fs 
x86_segreg_gs 
x86_segreg_none 

Definition at line 32 of file InstructionEnumsX86.h.

Intel x86 general purpose registers.

Enumerator
x86_gpr_ax 
x86_gpr_cx 
x86_gpr_dx 
x86_gpr_bx 
x86_gpr_sp 
x86_gpr_bp 
x86_gpr_si 
x86_gpr_di 
x86_gpr_r8 
x86_gpr_r9 
x86_gpr_r10 
x86_gpr_r11 
x86_gpr_r12 
x86_gpr_r13 
x86_gpr_r14 
x86_gpr_r15 

Definition at line 44 of file InstructionEnumsX86.h.

enum X86Flag

Intel x86 status flags.

These are the bit offsets in the flags register.

Enumerator
x86_flag_cf 
x86_flag_pf 
x86_flag_af 
x86_flag_zf 
x86_flag_sf 
x86_flag_tf 
x86_flag_if 
x86_flag_df 
x86_flag_of 
x86_flag_iopl 
x86_flag_nt 
x86_flag_rf 
x86_flag_vm 
x86_flag_ac 
x86_flag_vif 
x86_flag_vip 
x86_flag_id 

Definition at line 65 of file InstructionEnumsX86.h.

Intel x86 branch prediction types.

Enumerator
x86_branch_prediction_none 
x86_branch_prediction_taken 
x86_branch_prediction_not_taken 

Definition at line 87 of file InstructionEnumsX86.h.

Intel x86 instruction repeat prefix.

Enumerator
x86_repeat_none 

No repeat prefix.

x86_repeat_repne 

Repeat not equal prefix 0xf2.

x86_repeat_repe 

Repeat equal prefix 0xf3.

Definition at line 95 of file InstructionEnumsX86.h.