Equ Directive

The EQU pseudo-op defines a symbol and equates its value to an expression. For example

thomas EQU 123h

The identifier thomas will be given the value 123h. EQU is legal only when the symbol has not previously been defined. See Set Directive for redefinition of values.

This directive performs a similar function to the preprocessor’s #define directive (see Preprocessor Directives).