Enum iced_x86::OpKind [−][src]
pub enum OpKind {}Show variants
Register, NearBranch16, NearBranch32, NearBranch64, FarBranch16, FarBranch32, Immediate8, Immediate8_2nd, Immediate16, Immediate32, Immediate64, Immediate8to16, Immediate8to32, Immediate8to64, Immediate32to64, MemorySegSI, MemorySegESI, MemorySegRSI, MemorySegDI, MemorySegEDI, MemorySegRDI, MemoryESDI, MemoryESEDI, MemoryESRDI, Memory64, Memory,
Expand description
Instruction operand kind
Variants
A register (Register
).
This operand kind uses Instruction::op0_register()
, Instruction::op1_register()
, Instruction::op2_register()
, Instruction::op3_register()
or Instruction::op4_register()
depending on operand number. See also Instruction::op_register()
.
Near 16-bit branch. This operand kind uses Instruction::near_branch16()
Near 32-bit branch. This operand kind uses Instruction::near_branch32()
Near 64-bit branch. This operand kind uses Instruction::near_branch64()
Far 16-bit branch. This operand kind uses Instruction::far_branch16()
and Instruction::far_branch_selector()
Far 32-bit branch. This operand kind uses Instruction::far_branch32()
and Instruction::far_branch_selector()
8-bit constant. This operand kind uses Instruction::immediate8()
8-bit constant used by the ENTER
, EXTRQ
, INSERTQ
instructions. This operand kind uses Instruction::immediate8_2nd()
16-bit constant. This operand kind uses Instruction::immediate16()
32-bit constant. This operand kind uses Instruction::immediate32()
64-bit constant. This operand kind uses Instruction::immediate64()
An 8-bit value sign extended to 16 bits. This operand kind uses Instruction::immediate8to16()
An 8-bit value sign extended to 32 bits. This operand kind uses Instruction::immediate8to32()
An 8-bit value sign extended to 64 bits. This operand kind uses Instruction::immediate8to64()
A 32-bit value sign extended to 64 bits. This operand kind uses Instruction::immediate32to64()
seg:[SI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
seg:[ESI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
seg:[RSI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
seg:[DI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
seg:[EDI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
seg:[RDI]
. This operand kind uses Instruction::memory_size()
, Instruction::memory_segment()
, Instruction::segment_prefix()
ES:[DI]
. This operand kind uses Instruction::memory_size()
ES:[EDI]
. This operand kind uses Instruction::memory_size()
ES:[RDI]
. This operand kind uses Instruction::memory_size()
Don’t use it!
DEPRECATED. Use Memory
Memory operand.
This operand kind uses Instruction::memory_displ_size()
, Instruction::memory_size()
, Instruction::memory_index_scale()
, Instruction::memory_displacement64()
, Instruction::memory_base()
, Instruction::memory_index()
, Instruction::memory_segment()
, Instruction::segment_prefix()
Implementations
pub fn values(
) -> impl Iterator<Item = OpKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
[src]
pub fn values(
) -> impl Iterator<Item = OpKind> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
[src]Iterates over all OpKind
enum values
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for OpKind
impl UnwindSafe for OpKind
Blanket Implementations
Mutably borrows from an owned value. Read more