Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generates code that tests condition1 (for example, AX > 7) and executes the statements if that condition is true. (32-bit MASM only.)
Syntax
.IF condition1
statements
⟦.ELSEIF condition2
statements⟧
⟦.ELSE
statements⟧
.ENDIF
Remarks
If a .ELSE follows, its statements are executed if the original condition was false. Note that the conditions are evaluated at run time.