as_800(1) — Series 700/800 Implementation
NAME
as − assembler (Precision Architecture)
SYNOPSIS
as [[option] ... [file] ... ] ...
DESCRIPTION
as assembles the named source file file, or the standard input if file is not specified. The −l option causes the assembler to produce an assembly listing with offsets.
Assembler output is stored in file objfile. If the −ooutfile option is not specified, the .s suffix (if present) is stripped from the end of the source file name and .o is appended to the name to form the name of the default object code output file.
as output is not optimized. as creates relocatable object files which must be processed by ld before they can be successfully executed.
cc assembles .s files together with /lib/pcc_prefix.s, and subsequently invokes ld.
Options
as recognizes the following options.
−e An unlimited number of errors will be tolerated before the assembly process is abandoned. By default, one hundred errors are allowed before aborting.
−f Procedures by default will be callers of other procedures. The normal default is that procedures do not call other procedures.
−l Listing to standard output is made of the program after assembly. This listing shows offsets of instructions and actual values for fields.
−o outfile Produce an output object file by the name outfile instead of using the default .o suffix.
−s The output file will have suffix .ss and be of a format suitable for conversion to the ROM burning programs.
−u Unwind descriptors will not be created. To avoid the need for .CALLINFO, .ENTER and .LEAVE must not have been used.
−v xrfile Provides the name of a file to which cross reference data is written.
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
When syntactic or semantic errors occur, a single-line diagnostic is displayed on stderr, together with the line number and the file name in which it occurred.
WARNINGS
as does not do macro processing.
Trailing operands (except for a pc_relative branch displacement) can be omitted, in which case they default to zero. Trailing commas can also be omitted. Leading commas are ignored.
FILES
/lib/pcc_prefix.s space and register definitions
/usr/include/hard_reg.h hardware register equates
/usr/include/soft_reg.h follows calling convention
/usr/include/std_space.h space and subspace declarations
/lib/as_msgs.cat error message catalog
file.o object file
SEE ALSO
adb(1), cc(1), ld(1), nm_800(1), nm_300(1), crt0(3).
Assembly Language Reference Manual,
Precision Architecture and Instruction Reference Manual ,
Procedure Calling Conventions Reference Manual .
Hewlett-Packard Company — HP-UX Release 9.10: April 1995