xed_decoded_inst_s Struct Reference
[Decoding Instructions]

#include <xed-decoded-inst.h>


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 61 of file 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
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


Field Documentation

union { ... } _byte_array
 

const xed_uint8_t* _dec
 

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

xed_uint8_t _decoded_length
 

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

xed_uint8_t* _enc
 

Definition at line 79 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 75 of file xed-decoded-inst.h.

xed_uint8_t _n_operand_order
 

Definition at line 70 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 66 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 63 of file xed-decoded-inst.h.

struct xed_decoder_vars_s* dv
 

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

struct xed_encoder_vars_s* ev
 

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

union { ... } u
 

xed_uint64_t user_data
 

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


The documentation for this struct was generated from the following file:
Generated on Thu May 15 03:15:09 2008 for XED2 by  doxygen 1.4.6