Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ as(I) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld (I)

nm (I)

db (I)

a.out (V)

AS(I)  −  PWB/UNIX 1/15/73

NAME

as − assembler

SYNOPSIS

as [ − ] name ... 

DESCRIPTION

As assembles the concatenation of the named files.  If the optional first argument − is used, all undefined symbols in the assembly are treated as global.  The output of the assembly is left on the file "a.out." It is executable if no errors occurred during the assembly, and if there were no unresolved external references. 

FILES

/tmp/atm[1-3]?temporary
a.outobject

SEE ALSO

ld (I), nm (I), db (I), a.out (V), ‘UNIX Assembler Manual’. 

DIAGNOSTICS

When an input file cannot be read, its name followed by a question mark is typed and assembly ceases.  When syntactic or semantic errors occur, a single-character diagnostic is typed out together with the line number and the file name in which it occurred.  Errors in pass 1 cause cancellation of pass 2.  The possible errors are: )Parentheses error
]Parentheses error
<String not terminated properly
*Indirection used illegally
.Illegal assignment to ‘.’
AError in address
BBranch instruction is odd or too remote
EError in expression
FError in local (‘f’ or ‘b’) type symbol
GGarbage (unknown) character
IEnd of file inside an if
MMultiply defined symbol as label
OWord quantity assembled at odd address
P‘.’ different in pass 1 and 2
RRelocation error
UUndefined symbol
XSyntax error

BUGS

Symbol table overflow is not checked.  x errors can cause incorrect line numbers in following diagnostics. 

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