5-2
5.1
Labels
A label identifies a line of code or a variable and represents a memory address
that contains either an instruction or data.
Figure 5–1 shows the position of the label in a line of assembly code. The colon
following the label is optional.
Figure 5–1. Labels in Assembly Code
label:
[condition]
instruction unit
operands ; comments
parallel bars
Labels must meet the following conditions:
-
The first character of a label must be a letter or an underscore ( _ ) followed
by a letter.
-
The first character of the label must be in the first column of the text file.
-
Labels can include up to 32 alphanumeric characters.
5.2
Parallel Bars
An instruction that executes in parallel with the previous instruction signifies
this with parallel bars (||). This field is left blank for an instruction that does not
execute in parallel with the previous instruction.
Figure 5–2. Parallel Bars in Assembly Code
label:
[condition]
instruction unit
operands ; comments
parallel bars
Labels / Parallel Bars