Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ as(1) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(1)

ld(1)

nm(1)

a.out(4)

AS(1)  —  HP-UX

NAME

as − assembler

SYNOPSIS

as [ −A ] [ −a afile ] [ −o objfile ] [ file ]

REMARKS

This is a generic page for a machine-dependent assembler.  A specific page will be provided for each assembler.  Not all HP−UX systems provide an assembler. 

DESCRIPTION

As assembles the named file, or the standard input if no file name is specified. The optional arguments −A or −a may be used to obtain an assembly listing with offsets and instruction codes.  If −A is used the listing goes to standard output.  If −a is used the listing goes to afile.

All undefined symbols in the assembly are treated as global. 

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.  As does not invoke ld.

FILES

/usr/tmp/∗temporary files
file.oobject file

SEE ALSO

adb(1), ld(1), nm(1), a.out(4). 
The assembler reference for each machine.

DIAGNOSTICS

If the name chosen for the output file is of the form ∗?.[cs], the assembler issues an appropriate complaint and quits.  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. 

INTERNATIONAL SUPPORT

8- and 16-bit data, 8-bit filenames. 

Hewlett-Packard Company  —  Version B.1,  April 12, 1993

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