Operand Type
Represents four different types of intel operands: register, memory, direct address, and immediate.
Union cases
| Union case |
Description
|
|
Label is *not* encoded in the actual binary. This is only used when we assemble binaries.
|
|
OprDirAddr is a direct branch target address.
|
|
OprImm represents an immediate operand. The OperandSize here means the size of the encoded immediate value.
|
Full Usage:
OprMem(Register option, ScaledIndex option, Displacement option, OperandSize)
Parameters:
Register option
Item2 : ScaledIndex option
Item3 : Displacement 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.
|
|
A register operand.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsLabel
Returns: bool
|
|
Full Usage:
this.IsOprDirAddr
Returns: bool
|
|
Full Usage:
this.IsOprImm
Returns: bool
|
|
Full Usage:
this.IsOprMem
Returns: bool
|
|
Full Usage:
this.IsOprReg
Returns: bool
|
|
B2R2