Enum iced_x86::OpKind[][src]

pub enum OpKind {
    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,
}

Instruction operand kind

Variants

Register
NearBranch16

Near 16-bit branch. This operand kind uses Instruction::near_branch16()

NearBranch32

Near 32-bit branch. This operand kind uses Instruction::near_branch32()

NearBranch64

Near 64-bit branch. This operand kind uses Instruction::near_branch64()

FarBranch16

Far 16-bit branch. This operand kind uses Instruction::far_branch16() and Instruction::far_branch_selector()

FarBranch32

Far 32-bit branch. This operand kind uses Instruction::far_branch32() and Instruction::far_branch_selector()

Immediate8

8-bit constant. This operand kind uses Instruction::immediate8()

Immediate8_2nd

8-bit constant used by the ENTER, EXTRQ, INSERTQ instructions. This operand kind uses Instruction::immediate8_2nd()

Immediate16

16-bit constant. This operand kind uses Instruction::immediate16()

Immediate32

32-bit constant. This operand kind uses Instruction::immediate32()

Immediate64

64-bit constant. This operand kind uses Instruction::immediate64()

Immediate8to16

An 8-bit value sign extended to 16 bits. This operand kind uses Instruction::immediate8to16()

Immediate8to32

An 8-bit value sign extended to 32 bits. This operand kind uses Instruction::immediate8to32()

Immediate8to64

An 8-bit value sign extended to 64 bits. This operand kind uses Instruction::immediate8to64()

Immediate32to64

A 32-bit value sign extended to 64 bits. This operand kind uses Instruction::immediate32to64()

MemorySegSI
MemorySegESI
MemorySegRSI
MemorySegDI
MemorySegEDI
MemorySegRDI
MemoryESDI

ES:[DI]. This operand kind uses Instruction::memory_size()

MemoryESEDI

ES:[EDI]. This operand kind uses Instruction::memory_size()

MemoryESRDI

ES:[RDI]. This operand kind uses Instruction::memory_size()

Memory64
👎 Deprecated since 1.11.0:

Don’t use it!

DEPRECATED. Use Memory

Memory

Implementations

impl OpKind[src]

pub fn values(
) -> impl Iterator<Item = OpKind> + ExactSizeIterator + FusedIterator
[src]

Iterates over all OpKind enum values

Trait Implementations

impl Clone for OpKind[src]

impl Copy for OpKind[src]

impl Debug for OpKind[src]

impl Default for OpKind[src]

impl Eq for OpKind[src]

impl Hash for OpKind[src]

impl Ord for OpKind[src]

impl PartialEq<OpKind> for OpKind[src]

impl PartialOrd<OpKind> for OpKind[src]

impl StructuralEq for OpKind[src]

impl StructuralPartialEq for OpKind[src]

impl TryFrom<usize> for OpKind[src]

type Error = IcedError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for OpKind

impl Send for OpKind

impl Sync for OpKind

impl Unpin for OpKind

impl UnwindSafe for OpKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.