Zydis  master
ZydisDecodedInstructionRawRex2_ Struct Reference

Detailed info about the REX2 prefix. More...

#include <DecoderTypes.h>

Data Fields

ZyanU8 M0
 Legacy map 0 (0x0F) selector bit. More...
 
ZyanU8 R4
 Extension of the ModRM.reg field (bit 4). More...
 
ZyanU8 X4
 Extension of the SIB.index field (bit 4). More...
 
ZyanU8 B4
 Extension of the ModRM.rm, SIB.base, or opcode.reg field (bit 4). More...
 
ZyanU8 W
 64-bit operand-size promotion, opcode-extension or PPX hint. More...
 
ZyanU8 R3
 Extension of the ModRM.reg field (bit 3). More...
 
ZyanU8 X3
 Extension of the SIB.index field (bit 3). More...
 
ZyanU8 B3
 Extension of the ModRM.rm, SIB.base, or opcode.reg field (bit 3). More...
 
ZyanU8 offset
 The offset of the effective REX2 byte, relative to the beginning of the instruction, in bytes. More...
 

Detailed Description

Detailed info about the REX2 prefix.

Field Documentation

◆ B3

ZyanU8 B3

Extension of the ModRM.rm, SIB.base, or opcode.reg field (bit 3).

◆ B4

ZyanU8 B4

Extension of the ModRM.rm, SIB.base, or opcode.reg field (bit 4).

◆ M0

ZyanU8 M0

Legacy map 0 (0x0F) selector bit.

◆ offset

ZyanU8 offset

The offset of the effective REX2 byte, relative to the beginning of the instruction, in bytes.

Note that the REX2 byte can be the first byte of the instruction, which would lead to an offset of 0. Please refer to the instruction attributes to check for the presence of the REX2 prefix.

◆ R3

ZyanU8 R3

Extension of the ModRM.reg field (bit 3).

◆ R4

ZyanU8 R4

Extension of the ModRM.reg field (bit 4).

◆ W

ZyanU8 W

64-bit operand-size promotion, opcode-extension or PPX hint.

◆ X3

ZyanU8 X3

Extension of the SIB.index field (bit 3).

◆ X4

ZyanU8 X4

Extension of the SIB.index field (bit 4).


The documentation for this struct was generated from the following file: