Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

ld(1)

nm(1)

strip(1)

tmpnam(3S)

a.out(4)

AS(1)  —  Kubota Pacfic Computer Inc. (Software Generation System Utilities)

NAME

as − common assembler

SYNOPSIS

as [options] [input] output

DESCRIPTION

Note: This program differs from most UNIX assemblers because it may be used as a filter. 

The as command assembles the named file.  The following flags may be specified in any order:

−i filename
Specifies a name for the input filename. (However, the input is still stdin .) 

−o objfile Put the output of the assembly in objfile. By default, the output file name is formed by removing the .s suffix, if there is one, from the input file name specified with the −i option and appending a .o suffix.  If there is no −i option, the default output file is named a.out. 

−S Produce on the standard output a disassembled version of the input. 

−V Write the version number of the assembler being run on the standard error output. 

SEE ALSO

cc(1), ld(1), nm(1), strip(1), tmpnam(3S), a.out(4)

NOTES

Note: Writing assembly code that correctly uses the floating point or vector units involves subtle issues of synchronization that are best left to the compiler.  Use of this option is strongly discouraged. 

Wherever possible, the assembler should be accessed through a compilation system interface program such as cc(1).  In this case, the C preprocessor is run, giving a rudimentary macro and include capability. 

September 02, 1992

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