armasm is a two pass assembler and the
input code that it reads must be identical in both passes. If a
symbol is defined after the
:DEF: test for that symbol,
then the code read in pass one might be different from the code
read in pass two.
armasm can warn in this situation.
To do this, use the following command-line option when invoking
armasm --diag_warning 1907
Example 22 shows that
foo is defined after the
foo test. Assembling this code with
1907 generates the message:
Warning A1907W: Test for this symbol has been seen and may cause failure in the second pass.