We define four different types of X86 operands: register, memory, direct address, and immediate.
Union case | Description |
|
|
|
|
|
OprImm represents an immediate operand. The OperandSize here means the size of the encoded immediate value.
|
Full Usage:
OprMem(Register option, ScaledIndex option, Disp option, OperandSize)
Parameters:
Register option
Item2 : ScaledIndex option
Item3 : Disp option
Item4 : OperandSize
|
OprMem represents a memory operand. The OperandSize here means the memory access size of the operand, i.e., how many bytes do we read/write here.
|
|
|