System information
3.4.4 The SET Directive
The SET statement is similar to the EQU, taking the form:
label SET expression
except that the label can occur on other SET statements within the program. The expression is
evaluated and becomes the current value associated with the label. Thus, the EQU statement
defines a label with a single value, while the SET statement defines a value that is valid from the
current SET statement to the point where the label occurs on the next SET statement. The use of
the SET is similar to the EQU statement, but is used most often in controlling conditional
assembly.
3.4.5 The IF and ENDIF Directives
The IF and ENDIF statements define a range of assembly-language statements that are to be
included or excluded during the assembly process. These statements take on the form:
IF expression
statement# 1
statement#2
...
statement#n
ENDIF
3.4 Assembler Directives CP/M Operating System Manual
3-13