ARM Diagnostic Directives (Windows CE 5.0)
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. ASSERT can be used inside and outside macros. |
! |
|
Related to ASSERT, but is inspected on both passes of the assembly, providing a more flexible means for creating custom error messages.
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 directive. |
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 ! directive. |
See Also
Send Feedback on this topic to the authors