User manual
ST assembler ST Assembler-Linker
34/89 Doc ID 11392 Rev 4
SYM option
LI option
OBJ option
-D <1> <2> #define <1> <2> (see page 36)
-I Specify paths for included or loaded files (see page 36)
-M Output make rule (see page 37)
-PA Enable pass-1 listing (see page 37)
-NP Disable phase errors (seepage 37)
Description: Allows the generation of a symbol table.
Format: ASM <file> -sym
Example: ASM prog -sym
The output is the file prog.sym
Description: Request to generate a complete listing file. To specify the pathname for the
generated list file use the option -li=<pathname>. The default extension
is LST. Note that the extension must be three characters long.
Format: ASM <file> -li or
ASM <file> -li=<pathname>
Example:
ASM prog -li
The output is the file prog.lst in the current directory
ASM prog -li=obj\prog
The output is the file obj\prog.lst
ASM prog -li=prog.lsr
The output is the file prog.lsr
Description: You can specify the pathname for the generated .OBJ file, using this option:
Format: ASM <file> -obj=<pathname>
Example: ASM prog -obj=obj\prog
Forces the assembler to generate the object file obj\prog.obj.
Table 15. Command line options
Option Function