Keil™, An ARM® Company

Technical Support

A51: PRE-DEFINED MACROS


Information in this article applies to:

  • C51 Version 6.00

QUESTION

What pre-defined macros are available in the A51 Assembler?

ANSWER

The following pre-defined Macros exist in A51:

  • __FILE__: Name of the file being translated
  • __LINE__: Current line number in the file being compiled
  • __TIME__: Time when the translation was started
  • __DATE__: Date when the translation was started
  • __STDC__: Defined to 1
  • __A51__: Version number of the A51 Assembler (for example 600 for V6.00)
  • __KEIL__: Defined to 1

Last Reviewed: Friday, May 26, 2000


Did this article provide the answer you needed?
 
Yes
No
Not Sure