SPRUI03E June 2015 – January 2023
The .define directive functions in the same manner as the .asg directive, except that .define disallows creation of a substitution symbol that has the same name as a register symbol or mnemonic. It does not create a new symbol name space in the assembler, rather it uses the existing substitution symbol name space. The syntax for the directive is:
.define substitution string , substitution symbol name
The .define directive is used to prevent corruption of the assembly environment when converting C/C++ headers.