Chapter 6. Assembler Symbols

Table of Contents
6.1. Labels
6.2. Giving Symbols Other Values
6.3. Symbol Names
6.4. The Special Dot Symbol
6.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.

6.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.