Enum iced_x86::ConditionCode
source · pub enum ConditionCode {
Show 17 variants
None,
o,
no,
b,
ae,
e,
ne,
be,
a,
s,
ns,
p,
np,
l,
ge,
le,
g,
}Expand description
Instruction condition code (used by Jcc, SETcc, CMOVcc, CMPccXADD, 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§
source§impl ConditionCode
impl ConditionCode
sourcepub fn values(
) -> impl Iterator<Item = ConditionCode> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values(
) -> impl Iterator<Item = ConditionCode> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all ConditionCode enum values
Trait Implementations§
source§impl Clone for ConditionCode
impl Clone for ConditionCode
source§fn clone(&self) -> ConditionCode
fn clone(&self) -> ConditionCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConditionCode
impl Debug for ConditionCode
source§impl Default for ConditionCode
impl Default for ConditionCode
source§impl<'de> Deserialize<'de> for ConditionCode
impl<'de> Deserialize<'de> for ConditionCode
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ConditionCode
impl Hash for ConditionCode
source§impl Ord for ConditionCode
impl Ord for ConditionCode
source§fn cmp(&self, other: &ConditionCode) -> Ordering
fn cmp(&self, other: &ConditionCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ConditionCode> for ConditionCode
impl PartialEq<ConditionCode> for ConditionCode
source§fn eq(&self, other: &ConditionCode) -> bool
fn eq(&self, other: &ConditionCode) -> bool
source§impl PartialOrd<ConditionCode> for ConditionCode
impl PartialOrd<ConditionCode> for ConditionCode
source§fn partial_cmp(&self, other: &ConditionCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ConditionCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more