AARM User's Guide

Discontinued

Predefined Macros

The AARM Assembler provides the following predefined constants you may use in preprocessor directives and assembler code to create portable programs.

ConstantDescription
__AA__Version number of the assembler (for example, 102 for version 1.02).
__DATE__Date when the assembly was started in ANSI format (month dd yyyy).
__FILE__Name of the file being assembled.
__KEIL__Set to 1 to indicate the KEIL AARM Assembler.
__LINE__Current line number in the file being assembled.
__TIME__Time when the assembly was started.

Note

  • There are two (2) leading and trailing underscore characters ('_') used for the predefined constants.