Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(1)

dbx(1)

ld(1)

nm(1)

a.out(5)

as(1)

NAME

as − assembler

SYNTAX

as [−d124] [−L] [−W] [−V] [−J] [−R] [−t directory] [−o objfile] [name...]

DESCRIPTION

The as assembler assembles the named files, or the standard input if no file name is specified.

OPTIONS

−dSpecifies number of bytes for offsets that involve forward or external references and have sizes unspecified in assembly language.  The default is −d4. 

−JUse long branches to resolve jumps when byte-displacement branches are insufficient.  This must be used when a compiler-generated assembly contains branches of more than 32k bytes. 

−LSaves defined labels beginning with ‘L’, which are normally discarded.  The compilers generate such temporary labels. 

−R
Make initialized data segments read-only, by concatenating them to the text segments. This obviates the need to run editor scripts on assembly code to make initialized data read-only and shared.

−tSpecifies a directory other than the default /tmp to receive the temporary file. 

−V
Uses virtual memory rather than a temporary file for immediate storage.

−W
Do not complain about errors.

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, a.out is used. 

FILES

/tmp/as∗default temporary files
a.outdefault resultant object file

SEE ALSO

adb(1), dbx(1), ld(1), nm(1), a.out(5)
"Berkeley VAX/UNIX Assembler Reference Manual," ULTRIX-32 Supplementary Documents, Vol. III:System Manager

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