6.1.9.43 Set Directive

The SET directive is equivalent to EQU (6.1.9.16 Equ Directive), except that it allows a symbol to be re-defined without error. For example:

thomas SET 0h

This directive does not reserve memory for the symbol specified. Use the DS directive to reserve data memory (see 6.1.9.13 Ds Directive). A SET performs a similar function to the preprocessor’s #define directive (see 5.14.1 Preprocessor Directives).