unparseX86Asm.C File Reference

#include "sage3basic.h"
#include "Registers.h"
#include "AsmUnparser.h"
#include <iomanip>

Include dependency graph for unparseX86Asm.C:


Functions

std::string unparseX86Mnemonic (SgAsmx86Instruction *insn)
 Returns a string containing everthing before the first operand in a typical x86 assembly statement.
std::string unparseX86Register (const RegisterDescriptor &reg)
 Returns the name of an X86 register.
static std::string x86ValToLabel (uint64_t val, const AsmUnparser::LabelMap *labels)
static std::string x86TypeToPtrName (SgAsmType *ty)
std::string unparseX86Expression (SgAsmExpression *expr, const AsmUnparser::LabelMap *labels, bool leaMode)
std::string unparseX86Expression (SgAsmExpression *expr, const AsmUnparser::LabelMap *labels)
 Returns a string containing the specified operand.

Function Documentation

std::string unparseX86Mnemonic ( SgAsmx86Instruction insn  ) 

Returns a string containing everthing before the first operand in a typical x86 assembly statement.

std::string unparseX86Register ( const RegisterDescriptor reg  ) 

Returns the name of an X86 register.

We use the amd64 architecture because, since it's backward compatible with the 8086, it contains definitions for all the registers from older architectures.

static std::string x86ValToLabel ( uint64_t  val,
const AsmUnparser::LabelMap labels 
) [static]

static std::string x86TypeToPtrName ( SgAsmType ty  )  [static]

std::string unparseX86Expression ( SgAsmExpression expr,
const AsmUnparser::LabelMap labels,
bool  leaMode 
)

std::string unparseX86Expression ( SgAsmExpression expr,
const AsmUnparser::LabelMap labels 
)

Returns a string containing the specified operand.


Generated on Tue Jan 31 05:32:48 2012 for ROSE by  doxygen 1.4.7