Continue Line. Freescale Semiconductor sc100
إعلان
إعلان
Freescale Semiconductor, Inc.
SC_Assem.book Page 93 Thursday, September 23, 2004 10:44 AM
Assembler Directives
Descriptions
\ Continue Line
Continues a source statement to the next line.
Remarks
If the assembler encounters a backslash (\) as the last character of a source line, it concatenates the line to the next line, processing the result as if it were a statement on one line. The maximum length for such a concatenated line is 4000 characters.
(Alternate role: In a macro definition, this character concatenates a dummy argument with adjacent characters.)
Example
The \ character makes one comment span three lines:
; This comment \ extends over \ three lines.
\ Concatenate Macro Argument
In a macro definition, concatenates a dummy argument with adjacent characters.
Remarks
There must not be any spaces with the \ character, which can precede or follow the adjoining characters. To position an argument between two characters, use the \ character before and after the argument name.
(Alternate role: If the last character of a source line, continues the statement to the next line.)
Example
The backslash (\) in the macro definition tells the macro processor to concatenate the dummy-argument substitution characters with the character R:
SWAP_REG MACRO REG1,REG2 temp)
MOVE R\REG1,D4
MOVE R\REG2,R\REG1
; Swap REG1,REG2 (D4 is
MOVE D4,R\REG2
ENDM
SC100 Assembler User Guide 93
For More Information: www.freescale.com
تنزيل
إعلان