- Main Page
- Modules
- Data Structures
- Files

- Search for |

- Alphabetical List
- Data Structures
- Class Hierarchy
- Data Fields

# 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 operand storage fields discovered during decoding. This same array is used by encode.
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 78 of file xed-decoded-inst.h.

xed_uint8_t _decoded_length

| Definition at line 66 of file xed-decoded-inst.h.

xed_uint8_t* _enc

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

xed_uint8_t _n_operand_order

| Length of the _operand_order[] array. Definition at line 68 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 64 of file xed-decoded-inst.h.

xed_operand_storage_t _operands

| The operand storage fields discovered during decoding. This same array is used by encode. Definition at line 60 of file xed-decoded-inst.h.

struct xed_encoder_vars_s* ev

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

union { ... } u

xed_uint64_t user_data

| Definition at line 87 of file xed-decoded-inst.h.

The documentation for this struct was generated from the following file:

- xed-decoded-inst.h