AS_800(1) — Series 800 Implementation
NAME
as − assembler (Precision Architecture)
SYNOPSIS
as [ [option] ... [file] ... ] ...
DESCRIPTION
As assembles the named file, or the standard input if no file name is specified. The optional argument −l may be used to obtain an assembly listing with offsets.
The output of the assembly is left on the file objfile. If that is omitted, .s is stripped from the end of the file name (if there) and .o is appended to it. This becomes the name of the output file.
The output of as is not optimized. As creates relocatable object files which must be processed by ld to be made executable.
Cc assembles .s files together with 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. Normally, only a hundred errors are allowed.
−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. In order to avoid the need for .CALLINFO, it must also be the case that .ENTER and .LEAVE have not been used.
−v xrfile Provides the name of a file to which cross reference data is written.
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) may be omitted and default to zero. Trailing commas may 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
cc(1), ld(1), adb(1), nm_800(1), nm_300(1).
Precision Architecture Assembler Technical Reference Manual.
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989