Keil Logo

;; Operator

The double-semicolon operator (';;') is used to signal that the remaining text on the line should not be output when the macro is expanded. This operator is typically used to precede comments that are not required in the macro expansion. For example:

MOV_R_A MACRO   n                       ;; helper macro
        MOV     R&n,A                   ;; set R# to 0

        REGNUM  SET 0
        MOV     A, #0                   ;; load A with 0
                REPT    CNT             ;; rpt for CNT registers
                MOV_R_A %REGNUM         ;; set R# to 0
                REGNUM  SET REGNUM+1
  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.