AssemblerX86::InsnDefn Class Reference

List of all members.

Detailed Description

Defines static characteristics of an instruction used by the assembler and disassembler.

The opcode contains up to eight bytes, but leading zeros are not emitted during assembly (except when the opcode is zero, in which case a single zero byte is emitted; see ADD).


Public Member Functions

 InsnDefn (const std::string &mnemonic, X86InstructionKind kind, unsigned compatibility, uint64_t opcode, unsigned opcode_modifiers, OperandDefn op1=od_none, OperandDefn op2=od_none, OperandDefn op3=od_none, OperandDefn op4=od_none)
std::string to_str () const
void set_location (const std::string &s)

Public Attributes

std::string mnemonic
X86InstructionKind kind
unsigned compatibility
uint64_t opcode
unsigned opcode_modifiers
std::vector< OperandDefnoperands
std::string location


Constructor & Destructor Documentation

AssemblerX86::InsnDefn::InsnDefn ( const std::string &  mnemonic,
X86InstructionKind  kind,
unsigned  compatibility,
uint64_t  opcode,
unsigned  opcode_modifiers,
OperandDefn  op1 = od_none,
OperandDefn  op2 = od_none,
OperandDefn  op3 = od_none,
OperandDefn  op4 = od_none 
) [inline]


Member Function Documentation

std::string AssemblerX86::InsnDefn::to_str (  )  const

void AssemblerX86::InsnDefn::set_location ( const std::string &  s  )  [inline]


Member Data Documentation

std::string AssemblerX86::InsnDefn::mnemonic

X86InstructionKind AssemblerX86::InsnDefn::kind

unsigned AssemblerX86::InsnDefn::compatibility

uint64_t AssemblerX86::InsnDefn::opcode

unsigned AssemblerX86::InsnDefn::opcode_modifiers

std::vector<OperandDefn> AssemblerX86::InsnDefn::operands

std::string AssemblerX86::InsnDefn::location


The documentation for this class was generated from the following file:
Generated on Tue Jan 31 05:33:21 2012 for ROSE by  doxygen 1.4.7