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
, 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
sourceimpl 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
sourceimpl Clone for ConditionCode
impl Clone for ConditionCode
sourcefn clone(&self) -> ConditionCode
fn clone(&self) -> ConditionCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConditionCode
impl Debug for ConditionCode
sourceimpl Default for ConditionCode
impl Default for ConditionCode
sourceimpl<'de> Deserialize<'de> for ConditionCode
impl<'de> Deserialize<'de> for ConditionCode
sourcefn 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
sourceimpl Hash for ConditionCode
impl Hash for ConditionCode
sourceimpl Ord for ConditionCode
impl Ord for ConditionCode
sourcefn cmp(&self, other: &ConditionCode) -> Ordering
fn cmp(&self, other: &ConditionCode) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ConditionCode> for ConditionCode
impl PartialEq<ConditionCode> for ConditionCode
sourcefn eq(&self, other: &ConditionCode) -> bool
fn eq(&self, other: &ConditionCode) -> bool
sourceimpl PartialOrd<ConditionCode> for ConditionCode
impl PartialOrd<ConditionCode> for ConditionCode
sourcefn partial_cmp(&self, other: &ConditionCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ConditionCode) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for ConditionCode
impl Serialize for ConditionCode
sourceimpl TryFrom<usize> for ConditionCode
impl TryFrom<usize> for ConditionCode
impl Copy for ConditionCode
impl Eq for ConditionCode
impl StructuralEq for ConditionCode
impl StructuralPartialEq for ConditionCode
Auto Trait Implementations
impl RefUnwindSafe for ConditionCode
impl Send for ConditionCode
impl Sync for ConditionCode
impl Unpin for ConditionCode
impl UnwindSafe for ConditionCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more