Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 595 Bytes

dot_if.md

File metadata and controls

18 lines (12 loc) · 595 Bytes

Asmc Macro Assembler Reference

.IF

.IF condition1
statements
[[.ELSEIF condition2
statements]]
[[.ELSE
statements]]
.ENDIF

Generates code that tests condition1 (for example, AX > 7) and executes the statements if that condition is true. If a .ELSE follows, its statements are executed if the original condition was false. Note that the conditions are evaluated at run time.

See Also

Directives Reference | Flag conditions | Signed compare | Return code