User manual

ST Assembler-Linker ABSLIST
Doc ID 11392 Rev 4 49/89
7.2 Invoking the list file post processor
Here is the full command syntax of the list file post processor:
abslist <rel_list_file> -o <abs_list_file> -exe
<application>.(s19|hex) -map <application>.map
<rel_list_file> ::= <file>.lsr
<abs_list_file> ::= <file>.lst
-o precedes the output list file.
-exe precedes the executable file name. The executable format can be Motorola S-Record
format or Intel Hex format. The format is recognized by reading the first line of the
executable file.
-map precedes the map file name.
-o and -map options may be omitted.
If -o is omitted, the absolute list file name is deduced from the relative list file name by
replacing its extension with .lst.
If -map is omitted, the map file name is deduced from the executable file name by
replacing its extension with .map.
Here is the reduced command syntax:
abslist <rel_list_file> -exe <application>.(s19|hex)
It is possible to convert several list files at the same time. The source file names must be
separated by "," with no blank in between. If several source file names are given and if -o
option is used, corresponding destination file names must also be given.
For example:
abslist <rel_lst_file1>,<rel_lst_file2>,...,<rel_lst_fileN>
-o <abs_lst_file1>,<abs_lst_file2>,...,<abs_lst_fileN>
-exe <application>.s19
Example:
ASM -sym -li=ex1.lsr ex1.asm (produces ex1.obj and ex1.lsr)
ASM -sym -li=ex2.lsr ex2.asm (produces ex2.obj and ex2.lsr)
LYN "ex1.obj+ex2.obj,ex.cod; " (produces ex.cod and ex.map)
OBSEND ex.cod,f,ex.s19,s (produces ex.s19)
ABSLIST ex1.lsr -o ex1.lst -exe ex.s19 (produces ex1.lst)
ABSLIST ex2.lsr -o ex2.lst -exe ex.s19 (produces ex2.lst)
Or
ABSLIST ex1.lsr,ex2.lsr -exe ex.s19 (produces ex1.lst and ex2.lst)