4.9.51 Set Directive
The SET
directive is equivalent to EQU
(4.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 4.9.13 Ds Directive). A
SET
performs a similar function to the preprocessor’s
#define
directive (see 5.1 Preprocessor Directives).