fcml
1.2.2
|
Additional details about an instruction. More...
#include <fcml_disassembler.hpp>
Public Member Functions | |
fcml_uint16_t | getAddrMode () const |
Gets address mode/instruction form. More... | |
void | setAddrMode (fcml_uint16_t addrMode) |
Sets instruction form. More... | |
fcml_en_instruction | getInstruction () const |
Gets instruction code. More... | |
void | setInstruction (fcml_en_instruction instruction) |
Gets a new instruction code for the instruction. More... | |
const fcml_uint8_t * | getInstructionCode () const |
Gets a pointer to the instruction code. More... | |
fcml_uint8_t * | getInstructionCode () |
Gets a pointer to the instruction code. More... | |
fcml_uint64_t | getInstructionGroup () const |
Gets instruction group. More... | |
void | setInstructionGroup (fcml_uint64_t instructionGroup) |
Sets an instruction group. More... | |
fcml_usize | getInstructionSize () const |
Instruction size in bytes. More... | |
void | setInstructionSize (fcml_usize instructionSize) |
Sets the instruction size in bytes. More... | |
bool | isShortcut () const |
Gets true if it's a shortcut instruction. More... | |
void | setShortcut (bool isShortcut) |
Marks the instruction as a shortcut. More... | |
const DecodedModRMDetails & | getModRmDetails () const |
Gets ModR/M instruction details. More... | |
DecodedModRMDetails & | getModRmDetails () |
Gets ModR/M instruction details. More... | |
void | setModRmDetails (const DecodedModRMDetails &modRmDetails) |
Sets a new instruction details for the instruction. More... | |
bool | isOpcodeFieldSBit () const |
Gets opcode field 'S'. More... | |
void | setOpcodeFieldSBit (bool opcodeFieldSBit) |
Sets 'S' field of the opcode byte. More... | |
bool | isOpcodeFieldWBit () const |
Gets opcode field 'W'. More... | |
void | setOpcodeFieldWBit (bool opcodeFieldWBit) |
Sets 'W' field of the opcode byte. More... | |
const OperandDetails & | getOperandDetails (fcml_usize index) const |
Gets the operand details for given index. More... | |
OperandDetails & | getOperandDetails (fcml_usize index) |
Gets the operand details for given index. More... | |
const PrefixesDetails & | getPrefixesDetails () const |
Gets instruction prefixes details. More... | |
PrefixesDetails & | getPrefixesDetails () |
Gets instruction prefixes details. More... | |
void | setPrefixesDetails (const PrefixesDetails &prefixesDetails) |
Sets a new instruction prefixes details. More... | |
fcml_en_pseudo_operations | getPseudoOp () const |
Gets pseudo operation code. More... | |
void | setPseudoOp (fcml_en_pseudo_operations pseudoOp) |
Sets pseudo operation for the instruction. More... | |
bool | isPseudoOp () const |
Gets true is it's a pseudo operation. More... | |
void | setIsPseudoOp (bool isPseudoOp) |
Sets pseudo operation flag. More... | |
fcml_uint8_t | getTupleType () const |
Gets avx-512 tuple type. More... | |
void | setTupleType (fcml_uint8_t tupleType) |
Sets avx-512 tuple type. More... | |
Additional details about an instruction.
|
inline |
Gets address mode/instruction form.
This information is used internally and is rather useless in day to day usage, but if you are interested in it do not hesitate to take a look at the manual.
|
inline |
Gets instruction code.
See fcml_en_instruction for more details.
|
inline |
Gets a pointer to the instruction code.
See fcml_en_instruction for more details.
|
inline |
Gets a pointer to the instruction code.
See fcml_en_instruction for more details.
|
inline |
Gets instruction group.
See fcml_instructions.h for all available groups.
|
inline |
|
inline |
Gets ModR/M instruction details.
|
inline |
Gets ModR/M instruction details.
|
inline |
Gets the operand details for given index.
index | Index of the instruction details. |
BadArgumentException | Array index out of bound. |
|
inline |
Gets the operand details for given index.
index | Index of the instruction details. |
BadArgumentException | Array index out of bound. |
|
inline |
Gets instruction prefixes details.
|
inline |
Gets instruction prefixes details.
|
inline |
Gets pseudo operation code.
|
inline |
Gets avx-512 tuple type.
|
inline |
Gets opcode field 'S'.
|
inline |
Gets opcode field 'W'.
|
inline |
Gets true is it's a pseudo operation.
|
inline |
Gets true if it's a shortcut instruction.
|
inline |
Sets instruction form.
addrMode | Addressing mode. |
|
inline |
Gets a new instruction code for the instruction.
instruction | The new instruction code. |
|
inline |
Sets an instruction group.
See fcml_instructions.h for all available groups.
instructionGroup | The instruction group. |
|
inline |
Sets the instruction size in bytes.
instructionSize | The instruction size. |
|
inline |
Sets pseudo operation flag.
isPseudoOp | True if the instruction is a pseudo operation. |
|
inline |
Sets a new instruction details for the instruction.
modRmDetails | The new instruction details. |
|
inline |
Sets 'S' field of the opcode byte.
opcodeFieldSBit | 'S' opcode byte field. |
|
inline |
Sets 'W' field of the opcode byte.
opcodeFieldWBit | 'W' opcode byte field. |
|
inline |
Sets a new instruction prefixes details.
prefixesDetails | The new prefixes details. |
|
inline |
Sets pseudo operation for the instruction.
pseudoOp | The pseudo operation. |
|
inline |
Marks the instruction as a shortcut.
isShortcut | True if it's a shortcut instruction. |
|
inline |
Sets avx-512 tuple type.
isPseudoOp | True if the instruction is a pseudo operation. |