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_storage_t _operands
 The _operands are storage for information discovered during decoding.
union {
   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 58 of file xed-decoded-inst.h.


Field Documentation

union { ... } _byte_array

const xed_uint8_t* _dec

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

xed_uint8_t _decoded_length

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

xed_uint8_t* _enc

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

xed_uint8_t _n_operand_order

Length of the _operand_order[] array.

Definition at line 71 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_storage_t _operands

The _operands are storage for information discovered during decoding.

They are also used by encode. The accessors for these operands all have the form xed3_operand_{get,set}_*(). They should be considered internal and subject to change over time. It is preferred that you use xed_decoded_inst_*() or the xed_operand_values_*() functions when available.

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

struct xed_encoder_vars_s* ev

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

union { ... } u

xed_uint64_t user_data

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


The documentation for this struct was generated from the following file:
Generated on Wed Jan 21 02:17:00 2015 for XED by  doxygen 1.5.1-p1