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
ENDM
REGCLR MACRO CNT
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
ENDM
ENDM
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.