680x0:Condition codes
Revision as of 23:24, 31 October 2007 by Spellcoder (talk | contribs) (added signed/unsigned, mathematical meaning and some more CC's)
Condition codes are used in branch instructions Bcc and DBcc.
Replace the cc with any of the following codes:
cc | mathematical | meaning | bitcode | signed | comment |
---|---|---|---|---|---|
NE | b<>a | Not equal | 0110 | ||
EQ | b==a | Equal | 0111 | ||
HI | b>a | High | 0010 | unsigned | |
LO | b<a | LOwer | unsigned | ||
HS | b>=a | Higher or Same | unsigned | ||
LS | b<=a | Lower or same | 0011 | unsigned | |
GT | b>a | Greater then | 1110 | signed | |
LT | b<a | Less then | 1101 | signed | |
GE | b>=a | Greater then or equal | 1100 | signed | |
LE | b<=a | Less then or equal | 1111 | signed | |
MI | b<0 | Minus | 1011 | ||
PL | b>0 | Plus | 1010 | ||
CC | Carry clear | 0100 | |||
CS | Carry set | 0101 | |||
VC | No overflow | 1000 | |||
VS | Overflow | 1001 | |||
(the next 2 are not known by all assemblers, because they aren't really usefull) (Seka does know them) | |||||
T | True | 0000 | allways branch, same as bra | ||
F | False | 0001 | never branch |