7.11 Syntax of numeric local labels

When referring to numeric local labels you can specify how armasm searches for the label.


n[routname] ; a numeric local label
%[F|B][A|T]n[routname] ; a reference to a numeric local label
is the number of the numeric local label in the range 0-99.
is the name of the current scope.
introduces the reference.
instructs armasm to search forwards only.
instructs armasm to search backwards only.
instructs armasm to search all macro levels.
instructs armasm to look at this macro level only.


If neither F nor B is specified, armasm searches backwards first, then forwards.
If neither A nor T is specified, armasm 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, armasm checks it against the name of the nearest preceding ROUT directive. If it does not match, armasm generates an error message and the assembly fails.
Related concepts
7.10 Numeric local labels
Related reference
12.62 ROUT
Non-ConfidentialPDF file icon PDF versionARM DUI0379G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.