fcml
1.2.2
|
Prefixes details. More...
#include <fcml_disassembler.hpp>
Public Member Functions | |
PrefixesDetails () | |
Default constructor. More... | |
const InstructionPrefixDetails & | operator[] (fcml_usize index) const |
Gets reference to the instruction prefix at given index. More... | |
InstructionPrefixDetails & | operator[] (fcml_usize index) |
Gets reference to the instruction prefix at given index. More... | |
fcml_uint8_t | getB () const |
Gets b flag. More... | |
void | setB (fcml_uint8_t B) |
Sets B flag. More... | |
bool | isBranch () const |
Gets true if branch prefix is available. More... | |
void | setBranch (bool isBranch) |
Sets branch prefix availability. More... | |
bool | isLock () const |
Gets true if lock prefix is available. More... | |
void | setLock (bool isLock) |
Sets lock prefix availability. More... | |
bool | isNobranch () const |
Gets true if no-branch prefix is available. More... | |
void | setNobranch (bool isNobranch) |
Sets no-branch prefix availability. More... | |
bool | isRep () const |
Gets true if Rep prefix is available. More... | |
void | setRep (bool isRep) |
Sets Rep prefix availability. More... | |
bool | isRepne () const |
Gets true if Repne prefix is available. More... | |
void | setRepne (bool isRepne) |
Sets Repne prefix availability. More... | |
bool | isRex () const |
Gets true if Rex prefix is available. More... | |
void | setRex (bool isRex) |
Sets REX prefix availability. More... | |
bool | isVex () const |
Gets true if Vex prefix is available. More... | |
void | setVex (bool isVex) |
Sets VEX prefix availability. More... | |
void | setEvex (bool isEvex) |
Sets EVEX prefix availability. More... | |
bool | isEvex () const |
Gets true if EVEX prefix is available. More... | |
bool | isXacquire () const |
Gets true if xacquire prefix is available. More... | |
void | setXacquire (bool isXacquire) |
Sets xacquire prefix availability. More... | |
bool | isXop () const |
Gets true if XOP prefix is available. More... | |
void | setXop (bool isXop) |
Sets XOP prefix availability. More... | |
bool | isAvx () const |
Gets true if any AVX prefix is available. More... | |
void | setAvx (bool isAvx) |
Sets XOP prefix availability. More... | |
bool | isXrelease () const |
Gets true if xrelease prefix is available. More... | |
void | setXrelease (bool isXrelease) |
Sets xrelease prefix availability. More... | |
fcml_uint8_t | getL () const |
Gets L flag. More... | |
void | setL (fcml_uint8_t L) |
Sets L flag. More... | |
fcml_uint8_t | getLPrim () const |
Gets L' flag. More... | |
void | setLPrim (fcml_uint8_t lPrim) |
Sets L' flag. More... | |
fcml_uint8_t | getMmmm () const |
Gets MMMM field. More... | |
void | setMmmm (fcml_uint8_t mmmm) |
Sets MMMM field. More... | |
fcml_uint8_t | getPp () const |
Gets PP field. More... | |
void | setPp (fcml_uint8_t pp) |
Sets PP field. More... | |
const InstructionPrefixDetails & | getPrefixes (fcml_usize index) const |
Gets a reference to the prefix of the given index. More... | |
InstructionPrefixDetails & | getPrefixes (fcml_usize index) |
Gets a reference to the prefix of the given index. More... | |
fcml_int | getPrefixesBytesCount () const |
Gets number of bytes interpreted to be prefixes. More... | |
void | setPrefixesBytesCount (fcml_int prefixesBytesCount) |
Sets number of prefixes bytes available for the instruction. More... | |
fcml_int | getPrefixesCount () const |
Gets number of prefixes available for the instruction. More... | |
void | setPrefixesCount (fcml_int prefixesCount) |
Sets number of prefixes available for the instruction. More... | |
fcml_uint8_t | getR () const |
Gets R flag. More... | |
void | setR (fcml_uint8_t r) |
Sets R flag. More... | |
fcml_uint8_t | getRPrim () const |
Gets R' flag. More... | |
void | setRPrim (fcml_uint8_t rPrim) |
Sets R' flag. More... | |
fcml_uint8_t | getAvxFirstByte () const |
Gets the first byte of the AVX prefix. More... | |
void | setAvxFirstByte (fcml_uint8_t avxFirstByte) |
Sets a first byte of the XOP/VEX prefix. More... | |
fcml_uint8_t | getVvvv () const |
Gets VVVV field of the XOP/VEX prefix. More... | |
void | setVvvv (fcml_uint8_t vvvv) |
Sets VVVV field of the XOP/VEX prefix. More... | |
fcml_uint8_t | getAaa () const |
Gets 'aaa' field of the EVEX prefix. More... | |
void | setAaa (fcml_uint8_t aaa) |
Sets 'aaa' field of the EVEX prefix. More... | |
fcml_uint8_t | getVPrim () const |
Gets V' flag. More... | |
void | setVPrim (fcml_uint8_t vPrim) |
Sets V' flag. More... | |
fcml_uint8_t | getW () const |
Gets W flag. More... | |
void | setW (fcml_uint8_t W) |
Sets W flag. More... | |
fcml_uint8_t | getX () const |
Gets X flag. More... | |
void | setX (fcml_uint8_t X) |
Sets X flag. More... | |
bool | getBcast () const |
Gets EVEX.b bit. More... | |
void | setBcast (bool b) |
Sets EVEX.b bit. More... | |
bool | getZ () const |
Gets EVEX.z bit. More... | |
void | setZ (bool z) |
Sets EVEX.z bit. More... | |
Prefixes details.
|
inline |
Default constructor.
|
inline |
Gets 'aaa' field of the EVEX prefix.
|
inline |
Gets the first byte of the AVX prefix.
|
inline |
Gets b flag.
|
inline |
Gets EVEX.b bit.
|
inline |
Gets L flag.
|
inline |
Gets L' flag.
|
inline |
Gets MMMM field.
|
inline |
Gets PP field.
|
inline |
Gets a reference to the prefix of the given index.
index | Index for the prefix. |
BadArgumentException | Array index out of bound. |
|
inline |
Gets a reference to the prefix of the given index.
index | Index for the prefix. |
BadArgumentException | Array index out of bound. |
|
inline |
Gets number of bytes interpreted to be prefixes.
|
inline |
Gets number of prefixes available for the instruction.
|
inline |
Gets R flag.
|
inline |
Gets R' flag.
|
inline |
Gets V' flag.
|
inline |
Gets VVVV field of the XOP/VEX prefix.
|
inline |
Gets W flag.
|
inline |
Gets X flag.
|
inline |
Gets EVEX.z bit.
|
inline |
Gets true if any AVX prefix is available.
|
inline |
Gets true if branch prefix is available.
|
inline |
Gets true if EVEX prefix is available.
|
inline |
Gets true if lock prefix is available.
|
inline |
Gets true if no-branch prefix is available.
|
inline |
Gets true if Rep prefix is available.
|
inline |
Gets true if Repne prefix is available.
|
inline |
Gets true if Rex prefix is available.
|
inline |
Gets true if Vex prefix is available.
|
inline |
Gets true if xacquire prefix is available.
|
inline |
Gets true if XOP prefix is available.
|
inline |
Gets true if xrelease prefix is available.
|
inline |
Gets reference to the instruction prefix at given index.
index | Number of the prefix. |
IllegalArgumentException | Index out of bound. |
|
inline |
Gets reference to the instruction prefix at given index.
index | Number of the prefix. |
IllegalArgumentException | Index out of bound. |
|
inline |
Sets 'aaa' field of the EVEX prefix.
aaa | The 'aaa' field. |
|
inline |
Sets XOP prefix availability.
isXop | True if XOP prefix is available. |
|
inline |
Sets a first byte of the XOP/VEX prefix.
avxFirstByte | The first AVX prefix byte. |
|
inline |
Sets B flag.
b | The B flag. |
|
inline |
Sets EVEX.b bit.
b | The EVEX.b bit. |
|
inline |
Sets branch prefix availability.
isBranch | True if branch prefix is available. |
|
inline |
Sets EVEX prefix availability.
isEvex | True if EVEX prefix is available. |
|
inline |
Sets L flag.
l | The L flag. |
|
inline |
Sets lock prefix availability.
isLock | True if lock prefix is available. |
|
inline |
Sets L' flag.
l | The L' flag. |
|
inline |
Sets MMMM field.
mmmm | MMMM field. |
|
inline |
Sets no-branch prefix availability.
isNobranch | True if no-branch prefix is available. |
|
inline |
Sets PP field.
pp | PP field. |
|
inline |
Sets number of prefixes bytes available for the instruction.
prefixesBytesCount | Number of the prefixes bytes. |
|
inline |
Sets number of prefixes available for the instruction.
prefixesCount | Number of the available prefixes. |
|
inline |
Sets R flag.
r | The R flag. |
|
inline |
Sets Rep prefix availability.
isRep | True if Rep prefix is available. |
|
inline |
Sets Repne prefix availability.
isRepne | True if branch prefix is available. |
|
inline |
Sets REX prefix availability.
isRex | True if REX prefix is available. |
|
inline |
Sets R' flag.
rPrim | The R' flag. |
|
inline |
Sets VEX prefix availability.
isVex | True if VEX prefix is available. |
|
inline |
Sets V' flag.
vPrim | The V' flag. |
|
inline |
Sets VVVV field of the XOP/VEX prefix.
vvvv | The VVVV field. |
|
inline |
Sets W flag.
w | The W flag. |
|
inline |
Sets X flag.
x | The X flag. |
|
inline |
Sets xacquire prefix availability.
isXacquire | True if xacquire prefix is available. |
|
inline |
Sets XOP prefix availability.
isXop | True if XOP prefix is available. |
|
inline |
Sets xrelease prefix availability.
isXrelease | True if xrelease prefix is available. |
|
inline |
Sets EVEX.z bit.
z | The EVEX.z bit. |