Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ as(1) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld(1)

nm(1)

adb(1)

dbx(1)

a.out(5)

AS(1)  —  UNIX Programmer’s Manual

NAME

as − MC68020/MC68030 assembler

SYNOPSIS

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

DESCRIPTION

As assembles the named files, or the standard input if no file name is specified.  The available flags are:

−l Output assemble listing to standard output. 

−d Ignored by assembler for VAX-11 assembler compatibility. 

−L Save defined labels beginning with a ‘L’, which are normally discarded to save space in the resultant symbol table.  The compilers generate such temporary labels. 

−V Use virtual memory for some intermediate storage, rather than a temporary file. 

−W Do not complain about errors. 

−J Use 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. 

−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. 

−t Specifies a directory to receive the temporary file, other than the default /tmp. 

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

ld(1), nm(1), adb(1), dbx(1), a.out(5)
Auxiliary documentation Assembler Reference Manual. 
Motorola: MC68020, 32-bit Mircroprocessor User’s Manulal, Second Edition, 1985. 
Motorola: MC68030, Enhanced 32-bit Mircroprocessor User’s Manulal (MC68030UM/AD). 
Motorola: MC68881, Floating-Point Coprocessor, User’s Manual, 1985. 
Motorola: MC68882, Enhanced Floating-Point Coprocessor, User’s Manual, 1985. 

AUTHORS

John F. Reiser
Robert R. Henry
Hiroshi Tezuka

BUGS

−J should be eliminated; the assembler should automatically choose among byte, word and long branches. 

NEWS-OSRelease 3.3

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