Physical encodings of instruction operands.

Synopsis

Declared in <llvm/Support/X86DisassemblerDecoderCommon.h>

enum OperandEncoding;

Members

Name

Description

ENCODING_NONE

No operand encoding.

ENCODING_REG

Register operand in ModR/M byte.

ENCODING_RM

R/M operand in ModR/M byte.

ENCODING_RM_CD2

R/M operand with CDisp scaling of 2.

ENCODING_RM_CD4

R/M operand with CDisp scaling of 4.

ENCODING_RM_CD8

R/M operand with CDisp scaling of 8.

ENCODING_RM_CD16

R/M operand with CDisp scaling of 16.

ENCODING_RM_CD32

R/M operand with CDisp scaling of 32.

ENCODING_RM_CD64

R/M operand with CDisp scaling of 64.

ENCODING_SIB

Force SIB operand in ModR/M byte.

ENCODING_VSIB

VSIB operand in ModR/M byte.

ENCODING_VSIB_CD2

VSIB operand with CDisp scaling of 2.

ENCODING_VSIB_CD4

VSIB operand with CDisp scaling of 4.

ENCODING_VSIB_CD8

VSIB operand with CDisp scaling of 8.

ENCODING_VSIB_CD16

VSIB operand with CDisp scaling of 16.

ENCODING_VSIB_CD32

VSIB operand with CDisp scaling of 32.

ENCODING_VSIB_CD64

VSIB operand with CDisp scaling of 64.

ENCODING_VVVV

Register operand in VEX.vvvv byte.

ENCODING_WRITEMASK

Register operand in EVEX.aaa byte.

ENCODING_IB

1‐byte immediate.

ENCODING_IW

2‐byte immediate.

ENCODING_ID

4‐byte immediate.

ENCODING_IO

8‐byte immediate.

ENCODING_RB

(AL..DIL, R8B..R15B) Register code added to the opcode byte.

ENCODING_RW

(AX..DI, R8W..R15W) Register code added to the opcode byte.

ENCODING_RD

(EAX..EDI, R8D..R15D) Register code added to the opcode byte.

ENCODING_RO

(RAX..RDI, R8..R15) Register code added to the opcode byte.

ENCODING_FP

Position on floating‐point stack in ModR/M byte.

ENCODING_Iv

Immediate of operand size.

ENCODING_Ia

Immediate of address size.

ENCODING_IRC

Immediate for static rounding control.

ENCODING_Rv

Register code of operand size added to the opcode byte.

ENCODING_CC

Condition code encoded in opcode.

ENCODING_CF

Condition flags encoded in EVEX.VVVV.

ENCODING_DUP

Duplicate of another operand; ID is encoded in type.

ENCODING_SI

Source index; encoded in OpSize/Adsize prefix.

ENCODING_DI

Destination index; encoded in prefixes.

ENCODING_max

Sentinel past the last operand encoding.

Created with MrDocs