SLAU131V October 2004 – February 2020
An identifier used as a label becomes an assembler symbol, which represent an address in the program. Labels within a file must be unique.
NOTE
A mnemonic cannot begin in column 1 or it will be interpreted as a label. Mnemonic opcodes and assembler directive names without the . prefix are valid label names. Remember to always use whitespace before the mnemonic, or the assembler will think the identifier is a new label definition.
Symbols derived from labels can also be used as the operands of .bss, .global, .ref, or .def directives.
.global func
MOV #CON1, R11
MOV R11, 0(SP)
CALL #func