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< OperandDefn > | operands |
| std::string | location |
| 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] |
| std::string AssemblerX86::InsnDefn::to_str | ( | ) | const |
| void AssemblerX86::InsnDefn::set_location | ( | const std::string & | s | ) | [inline] |
| std::string AssemblerX86::InsnDefn::mnemonic |
| uint64_t AssemblerX86::InsnDefn::opcode |
| std::vector<OperandDefn> AssemblerX86::InsnDefn::operands |
| std::string AssemblerX86::InsnDefn::location |
1.4.7