EncoderBase.OpcodeDesc Union Reference

#include <enc_base.h>

List of all members.


Detailed Description

Info about single opcode - its opcode bytes, operands, operands' roles.


Public Attributes

char dummy [128]
struct {
   char   opcode [5]
 Raw opcode bytes.
   unsigned   opcode_len
   unsigned   aux0
   unsigned   aux1
   OpndDesc   opnds [3]
 Info about opcode's operands.
   unsigned   first_opnd
   OpndRolesDesc   roles
 Info about operands - total number, number of uses/defs, operands' roles.
   char   last
 If not zero, then this is final OpcodeDesc structure in the list of opcodes for a given mnemonic.
   char   platf
}; 


Member Data Documentation

char EncoderBase.OpcodeDesc.dummy[128]

char EncoderBase.OpcodeDesc.opcode[5]

Raw opcode bytes.

'Raw' opcode bytes which do not require any analysis and are independent from arguments/sizes/etc (may include opcode size prefix).

unsigned EncoderBase.OpcodeDesc.opcode_len

unsigned EncoderBase.OpcodeDesc.aux0

unsigned EncoderBase.OpcodeDesc.aux1

OpndDesc EncoderBase.OpcodeDesc.opnds[3]

Info about opcode's operands.

The [3] mostly comes from IDIV/IMUL which both may have up to 3 operands.

unsigned EncoderBase.OpcodeDesc.first_opnd

OpndRolesDesc EncoderBase.OpcodeDesc.roles

Info about operands - total number, number of uses/defs, operands' roles.

char EncoderBase.OpcodeDesc.last

If not zero, then this is final OpcodeDesc structure in the list of opcodes for a given mnemonic.

char EncoderBase.OpcodeDesc.platf

struct { ... }


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

Genereated on Tue Mar 11 19:25:42 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.