xed_decoded_inst_s Struct Reference
[Decoding Instructions]

The main container for instructions. More...

#include <xed-decoded-inst.h>


Data Fields

union {
   const xed_uint8_t *   _dec
   xed_uint8_t *   _enc
_byte_array
xed_uint8_t _decoded_length
const xed_inst_t_inst
 when we decode an instruction, we set the _inst and get the properites of that instruction here.
xed_uint8_t _n_operand_order
 Length of the _operand_order[] array.
xed_uint8_t _operand_order [XED_ENCODE_ORDER_MAX_OPERANDS]
 Used for encode operand ordering. Not set by decode.
xed_operand_values_t _operands [XED_OPERAND_LAST]
 The operand storage fields discovered during decoding. This same array is used by encode.
union {
   xed_decoder_vars_s *   dv
   xed_encoder_vars_s *   ev
   xed_uint64_t   user_data
u


Detailed Description

The main container for instructions.

After decode, it holds an array of operands with derived information from decode and also valid xed_inst_t pointer which describes the operand templates and the operand order. See Decoding Instructions for API documentation.

Definition at line 63 of file xed-decoded-inst.h.


Field Documentation

union { ... } _byte_array
 

const xed_uint8_t* _dec
 

Definition at line 84 of file xed-decoded-inst.h.

xed_uint8_t _decoded_length
 

Definition at line 72 of file xed-decoded-inst.h.

xed_uint8_t* _enc
 

Definition at line 83 of file xed-decoded-inst.h.

const xed_inst_t* _inst
 

when we decode an instruction, we set the _inst and get the properites of that instruction here.

This also points to the operands template array.

Definition at line 79 of file xed-decoded-inst.h.

xed_uint8_t _n_operand_order
 

Length of the _operand_order[] array.

Definition at line 74 of file xed-decoded-inst.h.

xed_uint8_t _operand_order[XED_ENCODE_ORDER_MAX_OPERANDS]
 

Used for encode operand ordering. Not set by decode.

Definition at line 69 of file xed-decoded-inst.h.

xed_operand_values_t _operands[XED_OPERAND_LAST]
 

The operand storage fields discovered during decoding. This same array is used by encode.

Definition at line 65 of file xed-decoded-inst.h.

struct xed_decoder_vars_s* dv
 

Definition at line 94 of file xed-decoded-inst.h.

struct xed_encoder_vars_s* ev
 

Definition at line 96 of file xed-decoded-inst.h.

union { ... } u
 

xed_uint64_t user_data
 

Definition at line 93 of file xed-decoded-inst.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 22 12:27:53 2011 for XED2 by  doxygen 1.4.6