next up previous contents
Next: Input Format Up: The Assembler 'as' Previous: The Assembler 'as'

Command Line Parameter

Commandline options for the assembler 'as':
as [options] sourcefile

-h
Shows a list of available options with a short description.
-l
Enables listfile generation. This is a general switch. If the (NOLIST) meta instruction is used the listfile generation will be disabled. By default this filename of the listfile is derived from the source filename by substituting a '.asm' postfix with '.lst'. If '.asm' is not the fileending '.lst' is appended to the source filename.
-nl
Disables listfile generation. Using this switch every occurence of LIST in the source is ignored.
-m number
Sets the maximum passes done by the assembler. The default value is set to 99, possible values are 2 to 99.
-o filename
Sets the filename of the objectfile. By default this filename is derived from the source filename by substituting a '.asm' postfix with '.obj'. If '.asm' is not the fileending '.obj' is appended to the source filename.
Parts in brackets are optional.



Markus Hennecke
9/14/2003