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

Not equal

Greater than or equal (unsigned)

Less than (unsigned)

Negative

Positive or zero

Overflow

No overflow

Greater than (unsigned)

Less than or equal (unsigned)

Greater than or equal (signed)

Less than (signed)

Greater than (signed)

Less than or equal (signed)

Always

Trait Implementations

impl Clone for Condition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Condition
[src]

impl Debug for Condition
[src]

Formats the value using the given formatter.

impl PartialEq for Condition
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u32> for Condition
[src]

Performs the conversion.

impl Into<u32> for Condition
[src]

Performs the conversion.