ARM Diagnostic Directives
9/7/2007
The following ARM assembly directives generate diagnostic information.
Directive | Syntax | Description |
---|---|---|
ASSERT |
|
Supports diagnostic generation. If logical-expression returns FALSE, the assembler generates a diagnostic message during the second pass of the assembly.
|
! |
|
Related to If arithmetic-expression equals 0, the assembler takes no action during pass one, but prints string-expression as a warning during pass two. If arithmetic-expression does not equal 0, the assembler prints string-expression as a diagnostic message. The assembly halts after pass one. This directive is identical to the |
INFO |
|
If arithmetic-expression equals 0, the assembler takes no action during pass one. It adds source file and line number as a prefix to string-expression, and prints the result as a warning during pass two. If arithmetic-expression does not equal 0, the assembler prints string-expression as a diagnostic message. The assembly halts after pass one. This directive is identical to the |