[0m


AS(1)		    UNIX Programmer's Manual		    AS(1)



[1mNAME
     [0mas - UNIX-style ARM assembler

[1mSYNOPSIS
     as [0m[ [1m-o file [0m] [ [1m-r [0m] [ [1m-s [0m] [ [1m-l [0m] [ [1m-L [0m] [ [1m-x [0m] file

[1mDESCRIPTION
     [0m_A_s is an assembler which may be used to create object files
     suitable for incorporation into an executable image, and is
     used as a pass in various compilers.

     By default the assembler assembles the specified file and
     places the object file into the file [1ma.out[0m, with no listing.

     The option [1m-o [0m_f_i_l_e may be used to give a different name to
     the object file.

     The option [1m-l [0mmay be used to generate a listing file. The
     listing file name is generated by deleting the last suffix,
     if any, and appending [1m.lst[0m, thus in the default case the
     listing file name is [1ma.lst[0m, and the listing file name
     corresponding to an object file name of the form [1mx.o [0mis
     [1mx.lst[0m.

     The option [1m-L [0mis similar to [1m-l [0mexcept that a "full listing"
     (with expansion of all the object code rather than the first
     4 bytes of each line) is specified. The assembler directives
     [1m.list[0m, [1m.listall [0mand [1m.nolist [0mmay be used to subsequently
     modify these options within the source code.

     The number of lines per page is assumed to be 66 for the
     purpose of producing a source listing. This however may be
     varied by appending a different number to the [1m-l [0mor [1m-L
     [0moption thus: [1m-L88[0m.

     The option [1m-r [0mspecifies that the relocation table is to be
     listed. This is normally only useful for debugging purposes.

     The option [1m-s [0mspecifies that the symbol table is to be
     listed. This is also normally only useful for debugging pur-
     poses.

     The option [1m-x [0mspecifies that a cross-reference listing of
     symbol names is to be produced.  Local symbols are not
     included in the cross-reference. Columns per page of 120 is
     assumed in preparing the cross reference, however a dif-
     ferent number may be specified by appending a different
     number thus: [1m-x80

     [0mThe relocation table, symbol table and cross-reference table
     are appended to the source listing file in that order. This
     will be created if a source listing is not requested.



Printed 31/1/92     Revision 1.5 of 23/11/90			1






AS(1)		    UNIX Programmer's Manual		    AS(1)



[1mFILES
     [0ma.out
     a.lst

[1mSEE ALSO
     [0mcc(1), ld(1), Assembler manual.

















































Printed 31/1/92     Revision 1.5 of 23/11/90			2



[0m