Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ as(1) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(1)

ld(1)

nm(1)

a.out(4)

AS(1)  —  Silicon Graphics

NAME

as − assembler

SYNOPSIS

as −o objfile [ −i ] [ −j ] [ inputfile ]
as10 −o objfile [ −j ] [ inputfile ]
as20 −o objfile [ −i ] [ inputfile ]

DESCRIPTION

as assembles the 68010 or 68020 assembly language file inputfile.  If no file name is specified the standard input is used. 

All undefined symbols in the assembly are treated as global. 

The relocatable output of the assembly is put in the file objfile, which must be specified.

The −i option restricts the instruction set of as to 68010 instructions.  This is the default on 68010-based machines.  Invoking as with the name as10 has the same effect as specifying the −i option. 

The −j option expands the instruction set of as to include 68020 instructions and addressing modes.  This is the default on 68020-based machines.  Invoking as with the name as20 has the same effect as specifying the −j option. 

EXAMPLE

as −o file.o filea

would assemble the file “filea” and put the output of the assembly into “file.o”. 

/lib/ccom −N file.c | as −o file.o

would cause as to assemble the output of “/lib/ccom” and place the resultant object file in “file.o”. 

SEE ALSO

adb(1), ld(1), nm(1), a.out(4)
UNIX Programmer’s Manual, Volume IIB, “as20 Reference Manual”

BUGS

Certain instructions and addressing modes in as for the 68020 processor may have not been fully tested.  Users are cautioned to suspect the more atypical members of this set. 

Version 2.5r1  —  October 29, 1986

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