Enum armv4t::Condition
[−]
[src]
pub enum Condition { Equal, NotEqual, UnsignedGTE, UnsignedLT, Negative, Positive, Overflow, NoOverflow, UnsignedGT, UnsignedLTE, SignedGTE, SignedLT, SignedGT, SignedLTE, Always, }
Condition codes for controlling execution
Variants, values and conditions are as follows:
Variant | Value | Conditions |
---|---|---|
Equal |
0x0 |
Z == true |
NotEqual |
0x1 |
Z == false |
UnsignedGTE |
0x2 |
C == true |
UnsignedLT |
0x3 |
C == false |
Negative |
0x4 |
N == true |
Positive |
0x5 |
N == false |
Overflow |
0x6 |
V == true |
NoOverflow |
0x7 |
V == false |
UnsignedGT |
0x8 |
C == true && Z == false |
UnsignedLTE |
0x9 |
C == false && Z == true |
SignedGTE |
0xa |
N == V |
SignedLT |
0xb |
N != V |
SignedGT |
0xc |
Z == false && N == V |
SignedLTE |
0xd |
Z == true || N != V |
Always |
0xe |
- |
Variants
Equal
Equal
NotEqual
Not equal
UnsignedGTE
Greater than or equal (unsigned)
UnsignedLT
Less than (unsigned)
Negative
Negative
Positive
Positive or zero
Overflow
Overflow
NoOverflow
No overflow
UnsignedGT
Greater than (unsigned)
UnsignedLTE
Less than or equal (unsigned)
SignedGTE
Greater than or equal (signed)
SignedLT
Less than (signed)
SignedGT
Greater than (signed)
SignedLTE
Less than or equal (signed)
Always
Always
Trait Implementations
impl Clone for Condition
[src]
fn clone(&self) -> Condition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Condition
[src]
impl Debug for Condition
[src]
impl PartialEq for Condition
[src]
fn eq(&self, __arg_0: &Condition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.