5.11 ENDIF
Conditional assembly.
Conditional assembly includes a set of commands at assembly time. The ENDIF directive defines the end for the conditional IF, IFDEF, or IFNDEF directives.
Conditionals (.IF...ELIF...ELSE...ENDIF blocks) may be nested, but all conditionals must be terminated at the end of file (conditionals may not span multiple files).
.ENDIF
.IFDEF <symbol> |.IFNDEF <symbol>
…
.ELSE | .ELIF <expression>
…
.ENDIF
.IFNDEF DEBUG .MESSAGE "Release.." .ELSE .MESSAGE "Debugging.." .ENDIF