Motorola HC12 Manuale Utente

Pagina di 328
Environment Variables
Line Continuation
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Environment Variables
57
3.4  Line Continuation
It is possible to specify an environment variable over more than one line by
using the line continuation character \ (back slash).
Example:
ASMOPTIONS=\
-W2 \
-WmsgNe=10
This is the same as
ASMOPTIONS=-W2 -WmsgNe=10
Observe the following when using the continuation character in path
definitions:
GENPATH=.\
TEXTFILE=.\txt
Will result in
GENPATH=.TEXTFILE=.\txt
To avoid syntax errors, use a semicolon (;) at the end of a path if there is a \ at
the end of the code line, such as:
GENPATH=.\;
TEXTFILE=.\txt