Assembler User GuidePreface Overview of the Assembler Overview of the ARM Architecture Structure of Assembly Language Modules Writing ARM Assembly Language Condition Codes Using the Assembler armasm command-line syntax Specify command-line options with an environment v Using stdin to input source code to the assembler Built-in variables and constants Identifying versions of armasm in source code Diagnostic messages Interlocks diagnostics Automatic IT block generation Thumb branch target alignment Thumb code size diagnostics ARM and Thumb instruction portability diagnostics Instruction width diagnostics Two pass assembler diagnostics Conditional assembly Using the C preprocessor Address alignment Instruction width selection in Thumb Symbols, Literals, Expressions, and Operators VFP Programming Assembler Command-line Options ARM and Thumb Instructions VFP Instructions Directives Reference Via File Syntax
Two pass assembler diagnostics
6.13 Two pass assembler diagnostics
armasm can issue a warning about code that might not be identical in both assembler passes.
armasm is a two pass assembler and the input code that the assembler reads must be identical in both passes. If a symbol is defined after the
To do this, use the
The following example shows that the symbol
AREA x,CODE [ :DEF: foo ] foo MOV r3, r4 END
Assembling this code with
Warning A1907W: Test for this symbol has been seen and may cause failure in the second pass.
of your data.