Keil Logo

Standard Macro Operators

Several operators are available that may be used in standard macros.

Operator Description
NUL The NUL operator is used to determine if a macro argument is NULL.
& The ampersand operator is used to concatenate text and parameters.
<> Angle bracket operators are used to literalize delimiters like commas and blanks.
% The percent operator is used to denote a macro parameter that is interpreted as an expression.
;; A double semicolon operator indicates that subsequent text on the line should be ignored.
! The exclamation mark operator is used to denote a literal character.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.