pub enum CondCode {
Show 16 variants
AL = 0,
NA = 1,
EQ = 2,
NE = 3,
CS = 4,
LO = 5,
MI = 6,
PL = 7,
VS = 8,
VC = 9,
HI = 10,
LS = 11,
GE = 12,
LT = 13,
GT = 14,
LE = 15,
}Variants§
AL = 0
(no condition code) (always)
NA = 1
(not available) (special)
EQ = 2
Z==1 (any_sign ==)
NE = 3
Z==0 (any_sign !=)
CS = 4
C==1 (unsigned >=)
LO = 5
C==0 (unsigned < )
MI = 6
N==1 (is negative)
PL = 7
N==0 (is positive or zero)
VS = 8
V==1 (is overflow)
VC = 9
V==0 (no overflow)
HI = 10
C==1 & Z==0 (unsigned > )
LS = 11
C==0 | Z==1 (unsigned <=)
GE = 12
N==V (signed >=)
LT = 13
N!=V (signed < )
GT = 14
Z==0 & N==V (signed > )
LE = 15
Z==1 | N!=V (signed <=)
Implementations§
Trait Implementations§
impl Copy for CondCode
impl Eq for CondCode
impl StructuralPartialEq for CondCode
Auto Trait Implementations§
impl Freeze for CondCode
impl RefUnwindSafe for CondCode
impl Send for CondCode
impl Sync for CondCode
impl Unpin for CondCode
impl UnsafeUnpin for CondCode
impl UnwindSafe for CondCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more