| |||
| Home > Assembler Reference > Built-in variables > 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