You copied the Doc URL to your clipboard.

Identifying versions of armasm in source code

The assembler defines the built-in variable ARMASM_VERSION to hold the version number of the assembler.

You can use it as follows:

    IF ( {ARMASM_VERSION} / 100000) >= 6      ; using armasm in ARM Compiler 6    ELIF ( {ARMASM_VERSION} / 1000000) = 5      ; using armasm in ARM Compiler 5    ELSE      ; using armasm in ARM Compiler 4.1 or earlier    ENDIF

Note

The built-in variable |ads$version| is deprecated.
Was this page helpful? Yes No