Chapter 27. Assembler Symbols

Table of Contents
27.1. Labels
27.2. Giving Symbols Other Values
27.3. Symbol Names
27.4. The Special Dot Replaceable
27.5. Symbol Attributes

Symbols are a central concept: the programmer uses symbols to name things, the linker uses symbols to link, and the debugger uses symbols to debug.

27.1. Labels

A label is written as a symbol immediately followed by a colon ":". The symbol then represents the current value of the active location counter, and is, for example, a suitable instruction operand. You are warned if you use the same symbol to represent two different locations: the first definition overrides any other definitions.