Intel® X86 Encoder Decoder
xed-state.h File Reference

Data Structures

struct  xed_state_s
 Encapsulates machine modes for decoder/encoder requests. More...
 

Typedefs

typedef struct xed_state_s xed_state_t
 Encapsulates machine modes for decoder/encoder requests. More...
 

Functions

Initialization
static XED_INLINE void xed_state_init (xed_state_t *p, xed_machine_mode_enum_t arg_mmode, xed_address_width_enum_t arg_ignored, xed_address_width_enum_t arg_stack_addr_width)
 Constructor. More...
 
static XED_INLINE void xed_state_init2 (xed_state_t *p, xed_machine_mode_enum_t arg_mmode, xed_address_width_enum_t arg_stack_addr_width)
 Constructor. More...
 
static XED_INLINE void xed_state_zero (xed_state_t *p)
 clear the xed_state_t More...
 
Machine mode
static XED_INLINE xed_machine_mode_enum_t xed_state_get_machine_mode (const xed_state_t *p)
 return the machine mode More...
 
static XED_INLINE xed_bool_t xed_state_long64_mode (const xed_state_t *p)
 true iff the machine is in LONG_64 mode More...
 
static XED_INLINE xed_bool_t xed_state_mode_width_16 (const xed_state_t *p)
 
static XED_INLINE xed_bool_t xed_state_mode_width_32 (const xed_state_t *p)
 
static XED_INLINE xed_bool_t xed_state_real_mode (const xed_state_t *p)
 
static XED_INLINE void xed_state_set_machine_mode (xed_state_t *p, xed_machine_mode_enum_t arg_mode)
 Set the machine mode which corresponds to the default data operand size. More...
 
Address width
static XED_INLINE xed_address_width_enum_t xed_state_get_address_width (const xed_state_t *p)
 return the address width More...
 
Stack address width
static XED_INLINE xed_address_width_enum_t xed_state_get_stack_address_width (const xed_state_t *p)
 Return the STACK address width. More...
 
XED_DLL_EXPORT int xed_state_print (const xed_state_t *p, char *buf, int buflen)
 
static XED_INLINE void xed_state_set_stack_address_width (xed_state_t *p, xed_address_width_enum_t arg_addr_width)
 set the STACK address width More...