Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Relational Operators
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   expression1 EQ expression2
 
            expression1 NE expression2
 
            expression1 GT expression2
 
            expression1 LT expression2
 
            expression1 GE expression2
 
            expression1 LE expression2
 
  See also: Comparison Run-Time Operators,
            Conditional-Assembly Directives
 
  Description:
 
     The EQ, NE, GT, LT, GE, and LE relational operators determine if
     two constant expressions or data labels (in the same segment)
     are equal, not equal, greater than, less than, greater than or
     equal, or less than or equal to each other. The comparison returns
     true (-1) or false (0).
 
     These operators work only with assembler symbols and constants;
     they cannot be used to evaluate registers or memory locations.
     Use comparison run-time operators with the .IF, .ELSEIF, .WHILE,
     and .UNTIL directives.
                                    -♦-