First page Back Continue Last page Overview Graphics
Macros: Defining Labels within
If a label is defined within a macro, its name must be preceded by \@ to ensure unique expansion.
- ldda \1
- ; branch if the value in register A is positive bpl \@pos
- coma \@pos
The \@ in front of the label name is required because the macro may be used several times in a module generating a multiply defined symbol error. The \@ prefix will be replaced by a unique sequence every time the macro is expanded.