Keil Logo

IRP

The IRP built-in macro is defined as follows:

IRP parm-name, <parm-list>
macro-body
ENDM

Where

parm-name is the parameter name that is used in the macro-body. Each time the macro is expanded, subsequent values from the parm-list are used to replace parm-name in the macro-body.
parm-list is the list of parm-name replacement values.
macro-body is the text that is expanded when the macro is invoked.

For example:

IRP regnum, <R0,R1,R2,R3,R4>
        PUSH    A&regnum
ENDM

expands as:

        PUSH    AR0
        PUSH    AR1
        PUSH    AR2
        PUSH    AR3
        PUSH    AR4
  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.