Syntax of local labels

The syntax of a local label is:

n{routname}

The syntax of a reference to a local label is:

%{F|B}{A|T}n{routname}

where:

n

is the number of the local label in range 0-99.

routname

is the name of the current scope.

%

introduces the reference.

F

instructs the assembler to search forwards only.

B

instructs the assembler to search backwards only.

A

instructs the assembler to search all macro levels.

T

instructs the assembler to look at this macro level only.

If neither F nor B is specified, the assembler searches backwards first, then forwards.

If neither A nor T is specified, the assembler searches all macros from the current level to the top level, but does not search lower level macros.

If routname is specified in either a label or a reference to a label, the assembler checks it against the name of the nearest preceding ROUT directive. If it does not match, the assembler generates an error message and the assembly fails.

Show/hideSee also

Concepts
Reference

Assembler Reference:

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0473C
Non-ConfidentialID080411