5.2. Format of source lines

The general form of source lines in an ARM assembly language module is:

{symbol} {instruction|directive|pseudo-instruction} {;comment}

All three sections of the source line are optional. Instructions cannot start in the first column. They must be preceded by white space even if there is no preceding symbol.

You can use blank lines to make your code more readable.

symbol is usually a label. See Labels. In instructions and pseudo-instructions it is always a label. In some directives it is a symbol for a variable or a constant. This is made clear in the description of the directive.

symbol must begin in the first column and cannot contain any whitespace character such as a space or a tab. See Symbol naming rules.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C