Enum iced_x86::ConditionCode[][src]

pub enum ConditionCode {
    None,
    o,
    no,
    b,
    ae,
    e,
    ne,
    be,
    a,
    s,
    ns,
    p,
    np,
    l,
    ge,
    le,
    g,
}

Instruction condition code (used by Jcc, SETcc, CMOVcc, LOOPcc)

Variants

None

The instruction doesn’t have a condition code

o

Overflow (OF=1)

no

Not overflow (OF=0)

b

Below (unsigned) (CF=1)

ae

Above or equal (unsigned) (CF=0)

e

Equal / zero (ZF=1)

ne

Not equal / zero (ZF=0)

be

Below or equal (unsigned) (CF=1 or ZF=1)

a

Above (unsigned) (CF=0 and ZF=0)

s

Signed (SF=1)

ns

Not signed (SF=0)

p

Parity (PF=1)

np

Not parity (PF=0)

l

Less (signed) (SF!=OF)

ge

Greater than or equal (signed) (SF=OF)

le

Less than or equal (signed) (ZF=1 or SF!=OF)

g

Greater (signed) (ZF=0 and SF=OF)

Implementations

impl ConditionCode[src]

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

Iterates over all ConditionCode enum values

Trait Implementations

impl Clone for ConditionCode[src]

impl Copy for ConditionCode[src]

impl Debug for ConditionCode[src]

impl Default for ConditionCode[src]

impl Eq for ConditionCode[src]

impl Hash for ConditionCode[src]

impl Ord for ConditionCode[src]

impl PartialEq<ConditionCode> for ConditionCode[src]

impl PartialOrd<ConditionCode> for ConditionCode[src]

impl StructuralEq for ConditionCode[src]

impl StructuralPartialEq for ConditionCode[src]

impl TryFrom<usize> for ConditionCode[src]

type Error = IcedError

The type returned in the event of a conversion error.

Auto Trait Implementations

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.