File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man1 / as.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH AS 1 TAHOE
.UC 4
.SH NAME
as \- assembler
.SH SYNOPSIS
.B as
[
.B \-d124
] [
.B \-L
] [
.B \-W
] [
.B \-V
] [
.B \-J
] [
.B \-R
] [
.B \-t
directory
] [
.B \-P
] [
.B \-o
objfile ] [ name ... ]
.SH DESCRIPTION
.I As
assembles the named files, or the standard input if no file name is specified.
The available flags are:
.TP
.B \-d
Specifies the number of bytes to be assembled for offsets
which involve forward or external references, and which have sizes unspecified
in the assembly language.
The default is 
.B \-d4.
.TP
.B \-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.
.TP
.B \-V
Use virtual memory for intermediate storage, rather than a temporary file.
.TP
.B \-W
Do not complain about errors.
.TP
.B \-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.
.TP
.B \-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.
.TP
.B \-t
Specifies a directory to receive the temporary file, other than
the default /tmp.
.TP
.B \-P
Creates the assembler printout on standard output; the 
format of the printout:							 
`line-number    pc    memory-layout        source-line`
If the source line is in a data segment, the 'pc' field will be 
followed by a '*'.
.PP
All undefined symbols in the assembly
are treated as global.
.PP
The output of the assembly is left on the file
.I objfile;
if that is omitted,
.I a.out
is used.
.SH FILES
.ta 1.5i
/tmp/as\(**	default temporary file
.br
a.out		default resultant object file
.SH "SEE ALSO"
ld(1),
nm(1),
adb(1),
sdb(1),
a.out(5)
.br
Auxiliary documentation
.I Assembler Reference Manual.
.SH AUTHORS
John F. Reiser
.br
Robert R. Henry
.SH BUGS
.B \-J
should be eliminated; the assembler should automatically choose among
byte, word and long branches.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.