1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
4 <TITLE>80386 Programmer's Reference Manual -- Appendix D
</TITLE>
7 <B>up:
</B> <A HREF=
"app.htm">
10 <A HREF=
"appc.htm">Appendix C -- Status Flag Summary
</A><BR>
14 <H1>Appendix D -- Condition Codes
</H1>
18 The terms
"above" and
"below" refer to the relation between two
19 unsigned values (neither SF nor OF is tested). The terms
"greater" and
20 "less" refer to the relation between two signed values (SF and OF are
24 <H3>Definition of Conditions
</H3>
26 (For conditional instructions Jcond, and SETcond)
30 Mnemonic Meaning Subcode Tested
32 O Overflow
0000 OF =
1
34 NO No overflow
0001 OF =
0
37 NAE Neither above nor equal
0010 CF =
1
40 AE Above or equal
0011 CF =
0
46 NZ Not zero
0101 ZF =
0
49 NA Not above
0110 (CF or ZF) =
1
51 NBE Neither below nor equal
52 NA Above
0111 (CF or ZF) =
0
56 NS No sign
1001 SF =
0
59 PE Parity even
1010 PF =
1
62 PO Parity odd
1011 PF =
0
65 NGE Neither greater nor equal
1100 (SF xor OF) =
1
68 GE Greater or equal
1101 (SF xor OF) =
0
71 NG Not greater
1110 ((SF xor OF) or ZF) =
1
73 NLE Neither less nor equal
74 G Greater
1111 ((SF xor OF) or ZF) =
0
79 <B>up:
</B> <A HREF=
"app.htm">
82 <A HREF=
"appc.htm">Appendix C -- Status Flag Summary
</A><BR>