50 std::stringstream response;
60 return response.str();
66 std::stringstream response;
69 int baseRegIdx =
flags[IsLoad] ? 0 : 2;
77 return response.str();
void printMem(std::ostream &os, uint8_t segment, uint8_t scale, RegIndex index, RegIndex base, uint64_t disp, uint8_t addressSize, bool rip) const
const char * mnemonic
Base mnemonic (e.g., "add").
void printMnemonic(std::ostream &os, const char *mnemonic) const
std::bitset< Num_Flags > flags
Flag values for this instruction.
std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const
Internal function to generate disassembly string.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void printDestReg(std::ostream &os, int reg, int size) const
const uint8_t addressSize
void printSrcReg(std::ostream &os, int reg, int size) const
std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const
Internal function to generate disassembly string.