User manual

ST Assembler-Linker ST assembler
Doc ID 11392 Rev 4 37/89
M option
PA option
NP option
Description: Tells the ST assembler to output a rule suitable for make, describing the
dependencies to make an object file.
For a given source file, the ST assembler outputs one make rule whose
target is the object file name for that source file and whose dependencies
are all the included (#include) source files and loaded (#load) binary files it
uses. The rule is printed on the standard output.
Format: -M <source file name>
Example: ASM -I="include;include2" -M call
The output appears on the screen as the rule:
call.obj: call.asm include\map.inc include2\map2.inc
include\map3.inc include\code.bin
Description: Request to generate a pass-1 listing. In this listing internal forward
references are not yet known. They are marked as undefined with a 'U' in the
listing file.
Format: ASM <file> -pa
Example: ASM file1 -pa
The output file is file1.lst
Description: Disables the error generation.
Format: ASM <file> -np
Example: ASM file1 -np