Label Statements

A label statement has the following syntax:

[label]:   // comments

Where:

label

Defines a symbol whose value is the address of the current location counter. If the assembler inserts padding to align the location counter to an implied alignment boundary, the value of the label is not affected.

The assembler interprets a label followed by a double colon (::) as a global symbol. See the Symbol Scope Declaration section for more information about global symbols.

The following is an example of a global label statement:

foo::