ROSE
0.9.6a
|
Defines static characteristics of an instruction used by the assembler and disassembler. More...
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< OperandDefn > | operands |
std::string | location |
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).
Definition at line 358 of file AssemblerX86.h.
|
inline |
Definition at line 360 of file AssemblerX86.h.
References operands.
std::string AssemblerX86::InsnDefn::to_str | ( | ) | const |
|
inline |
Definition at line 370 of file AssemblerX86.h.
References location.
std::string AssemblerX86::InsnDefn::mnemonic |
Definition at line 373 of file AssemblerX86.h.
X86InstructionKind AssemblerX86::InsnDefn::kind |
Definition at line 374 of file AssemblerX86.h.
Referenced by AssemblerX86::define().
unsigned AssemblerX86::InsnDefn::compatibility |
Definition at line 375 of file AssemblerX86.h.
uint64_t AssemblerX86::InsnDefn::opcode |
Definition at line 376 of file AssemblerX86.h.
unsigned AssemblerX86::InsnDefn::opcode_modifiers |
Definition at line 377 of file AssemblerX86.h.
std::vector<OperandDefn> AssemblerX86::InsnDefn::operands |
Definition at line 378 of file AssemblerX86.h.
Referenced by InsnDefn().
std::string AssemblerX86::InsnDefn::location |
Definition at line 379 of file AssemblerX86.h.
Referenced by set_location().