|
|
@ -124,8 +124,8 @@ pub fn parse_cond(text: &str, pos: &SourcePosition) -> Result<Cond, CrsnError> { |
|
|
|
"ge" | ">=" | "≥" => Cond::GreaterOrEqual, |
|
|
|
"ge" | ">=" | "≥" => Cond::GreaterOrEqual, |
|
|
|
"pos" | "+" | ">0" => Cond::Positive, |
|
|
|
"pos" | "+" | ">0" => Cond::Positive, |
|
|
|
"neg" | "-" | "<0" => Cond::Negative, |
|
|
|
"neg" | "-" | "<0" => Cond::Negative, |
|
|
|
"npos" | "0-" | "<=0" | "≥0" => Cond::NonPositive, |
|
|
|
"npos" | "0-" | "<=0" | "≤0" => Cond::NonPositive, |
|
|
|
"nneg" | "0+" | ">=0" | "≤0" => Cond::NonNegative, |
|
|
|
"nneg" | "0+" | ">=0" | "≥0" => Cond::NonNegative, |
|
|
|
"c" => Cond::Carry, |
|
|
|
"c" => Cond::Carry, |
|
|
|
"nc" => Cond::NotCarry, |
|
|
|
"nc" => Cond::NotCarry, |
|
|
|
"em" | "empty" => Cond::Empty, |
|
|
|
"em" | "empty" => Cond::Empty, |
|
|
|