Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Set Conditions
 Summary Key                              Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Opcode     Mnemonic      Flags Checked    Description
────────────────────────────────────────────────────────────────────────────
 
  10010010   SETB/SETNAE   CF=1             Set if below/not above or
                                            equal (unsigned comparisons)
  10010011   SETAE/SETNB   CF=0             Set if above or equal/not
                                            below (unsigned comparisons)
  10010110   SETBE/SETNA   CF=1 or ZF=1     Set if below or equal/not
                                            above (unsigned comparisons)
  10010111   SETA/SETNBE   CF=0 and ZF=0    Set if above/not below or
                                            equal (unsigned comparisons)
  10010100   SETE/SETZ     ZF=1             Set if equal/zero
  10010101   SETNE/SETNZ   ZF=0             Set if not equal/not zero
  10011100   SETL/SETNGE   SF<>OF           Set if less/not greater or
                                            equal (signed comparisons)
  10011101   SETGE/SETNL   SF=OF            Set if greater or equal/not
                                            less (signed comparisons)
  10011110   SETLE/SETNG   ZF=1 or SF<>OF   Set if less or equal/not greater
                                            or equal (signed comparisons)
  10011111   SETG/SETNLE   ZF=0 and SF=OF   Set if greater/not less or
                                            equal (signed comparisons)
  10011000   SETS          SF=1             Set if sign
  10011001   SETNS         SF=0             Set if not sign
  10010010   SETC          CF=1             Set if carry
  10010011   SETNC         CF=0             Set if not carry
  10010000   SETO          OF=1             Set if overflow
  10010001   SETNO         OF=0             Set if not overflow
  10011010   SETP/SETPE    PF=1             Set if parity/parity even
  10011011   SETNP/SETPO   PF=0             Set if no parity/parity odd
────────────────────────────────────────────────────────────────────────────
                                    -♦-