Keil Logo

Built-in Macros

The standard macro processor has three built-in macros you may use alone or in your macro definitions. They are:

  • The REPT macro which repeats a block a specified number of times.
  • The IRP macro which repeats a block once for each specified argument.
  • The IRPC macro which repeats a block once for each character in a string.

Each of these built-in macros must be terminated with the ENDM statement.

  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.