
a
as(1) | as(1) |
NAME
as - assembler (Precision Architecture)
SYNOPSIS
as [ [option]... [®le] ... ]...
DESCRIPTION
The as command assembles source text from ®les or standard input and produces a relocatable object ®le suitable for the link editor, ld (see ld(1).
Source text is read from standard input only if no ®le argument is given. Standard input cannot be a device ®le, such as a terminal. The option and ®le arguments can be intermingled on the command line. Every speci®ed option applies to every speci®ed ®le, or standard input. The source ®les are concatenated to form a single input stream.
If the
as output is not optimized. as creates a relocatable object ®le that must be processed by ld before it can be successfully executed (see ld(1)).
The cc compiler normally runs the C preprocessor cpp (see cpp(1)), then invokes as to assemble the .s ®les together with /usr/lib/pcc_prefix.s, and subsequently invokes ld.
Arguments
as recognizes the following arguments.
file | A text ®le contain assembler source code. |
option | An option described below in Options. |
Options
as recognizes the following values for the option argument.
Permit an unlimited number of errors to be tolerated before the assembly process is | |
| abandoned. By default, one hundred errors are allowed before the assembler |
| aborts. |
Set the default value for the .CALLINFO directive to CALLS, The normal default | |
| value for a .CALLINFO that omits the CALLER, CALLS or NO_CALLS parameter |
| is NO_CALLS. |
Write a listing of the program to standard output after assembly. This listing shows | |
| the offsets of instructions and actual values for ®elds. |
Name the output object ®le obj®le instead of using the default .o suf®x on the ®le | |
| name of the last ®le speci®ed. |
Set the default privilege level for an .EXPORT directive to number. By default, all | |
| |
Set the output ®le suf®x to .ss instead of .o. The ®le will have a format suitable | |
| for conversion to the ROM burning programs. |
Do not create unwind descriptors. To avoid the need for the .CALLINFO directive, | |
| the .ENTER and .LEAVE directives must not have been used. |
Write | |
Print the version number of the assembler program to standard error before assem- | |
| bling the source text. |
Either suppress all warning messages if no number is supplied or suppress just the | |
| warning number provided. Multiple |
| additional warning messages. |
+DAarchitecture Assemble code for the architecture speci®ed. The use of this option is discouraged. The preferred method for selecting the architecture is to have a .LEVEL directive contained within the assembly source ®le.
Section 1−24 | − 1 − |