xed-state.h File Reference

#include "xed-types.h"
#include "xed-portability.h"
#include "xed-address-width-enum.h"
#include "xed-machine-mode-enum.h"

Go to the source code of this file.

Data Structures

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

Typedefs

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

Functions

XED_DLL_EXPORT int xed_state_print (const xed_state_t *p, char *buf, int buflen)
Address width
static XED_INLINE xed_address_width_enum_t xed_state_get_address_width (const xed_state_t *p)
 return the address width
Machine mode
static XED_INLINE xed_machine_mode_enum_t xed_state_get_machine_mode (const xed_state_t *p)
 return the machine mode
static XED_INLINE xed_bool_t xed_state_long64_mode (const xed_state_t *p)
 true iff the machine is in LONG_64 mode
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.
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.
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
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.
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.
static XED_INLINE void xed_state_zero (xed_state_t *p)
 clear the xed_state_t


Detailed Description

Definition in file xed-state.h.


Generated on Wed Jan 21 02:18:32 2015 for XED by  doxygen 1.5.1-p1