ARM VERSION 1.2 Computer Hardware User Manual


 
Assembler Reference
ARM DUI 0068B Copyright © 2000, 2001 ARM Limited. All rights reserved. 3-11
|ads$version|
must be all lower case. The other built-in variables can be upper-case,
lower-case, or mixed.
3.4.1 Determining the armasm version at assembly time
The built-in variable
{ARMASM$VERSION}
can be used to distinguish between versions of
armasm
from ADS1.0 onwards. However, previous versions of
armasm
did not have this
built-in variable.
If you need to build both ADS and SDT versions of your code, you can test for the
built-in variable
|ads$version|
. Use code similar to the following:
IF :DEF: |ads$version|
; code for ADS
ELSE
; code for SDT
ENDIF