Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ as(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc

ld

as

PURPOSE

     Assembles a source file.

SYNOPSIS
     as [ -o objfile] [ file ]


DESCRIPTION

     The as command  reads and assembles the  named file (con-
     ventionally this file ends with  a .s suffix).  If you do
     not  specify  a file,  as  reads  and assembles  standard
     input.  It stores its output, by default, in a file named
     a.out.  The output file is  executable if no errors occur
     and if there are no unresolved external references.

FLAGS

     -a           Provide  extended  addressing  for  handling
                  large structures.
     -l[listfile] Produces a assembler listing.  If you do not
                  specify  a  file  name, a  default  name  is
                  produced  by replacing  the .s  extension of
                  the source file name with an .lst extension.
     -n  name     Specifies  the  name  that  appears  in  the
                  header   of  the   assembler  listing.    By
                  default, the header contains the name of the
                  assembler source file.
     -o  objfile  Writes the output of the assembly process to
                  the specified file instead of to a.out.

FILES

     a.out    Default output file.

RELATED INFORMATION

     The following commands:  "cc" and "ld."

     The a.out  file in AIX Operating  System Technical Refer-
     ence.

     The discussion of as  in Assembler Language Reference and
     AIX Operating System Programming Tools and Interfaces.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026