Annotation of 43BSDReno/pgrm/as.vax/as.1, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1980, 1990 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted provided
                      5: .\" that: (1) source distributions retain this entire copyright notice and
                      6: .\" comment, and (2) distributions including binaries display the following
                      7: .\" acknowledgement:  ``This product includes software developed by the
                      8: .\" University of California, Berkeley and its contributors'' in the
                      9: .\" documentation or other materials provided with the distribution and in
                     10: .\" all advertising materials mentioning features or use of this software.
                     11: .\" Neither the name of the University nor the names of its contributors may
                     12: .\" be used to endorse or promote products derived from this software without
                     13: .\" specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"     @(#)as.1       6.5 (Berkeley) 7/24/90
                     19: .\"
                     20: .Dd July 24, 1990
                     21: .Dt AS 1
                     22: .Os BSD 4
                     23: .Sh NAME
                     24: .Nm as
                     25: .Nd VAX-11 assembler
                     26: .Sh SYNOPSIS
                     27: .Nm as
                     28: .Op Fl \&a Ar val
                     29: .Op Fl \&d Ar bytes
                     30: .Op Fl \&L
                     31: .Op Fl \&W
                     32: .Op Fl \&V
                     33: .Op Fl \&J
                     34: .Op Fl \&R
                     35: .Op Fl \&t Ar directory
                     36: .Op Fl \&o Ar outfile
                     37: .Op Ar source_file ...
                     38: .Sh DESCRIPTION
                     39: The
                     40: .Nm as
                     41: assembler produces an object file from the given source files
                     42: or from the standard input.
                     43: .Tp Fl a
                     44: Specifies the alignment
                     45: .Ar value
                     46: of procedures and data blocks.
                     47: It is given as a power of two; thus an alignment of 3
                     48: causes alignment on an eight byte boundary.
                     49: The default is
                     50: .Cx Fl a
                     51: .Li 2
                     52: .Cx ,
                     53: .Cx
                     54: the minumum value is
                     55: .Li 1 ,
                     56: the maximum value
                     57: .Li 16 .
                     58: .Tp Fl d
                     59: Displacement offset in bytes for displacement values
                     60: not defined in the first pass or unspecified in the assembly language.
                     61: Possible values are
                     62: .Li 1 , 2 ,
                     63: or
                     64: .Li 4 .
                     65: The default is
                     66: .Cx Fl d
                     67: .Li 4
                     68: .Cx ,
                     69: .Cx
                     70: if
                     71: .Fl d
                     72: is not given.
                     73: .Tp Fl L
                     74: Save defined labels beginning with a
                     75: \*(LqL\*(Rq, which are normally discarded
                     76: to save space in the resultant symbol table.
                     77: The compilers generate such temporary labels.
                     78: .Tp Fl V
                     79: Use virtual memory for some intermediate storage,
                     80: rather than a temporary file.
                     81: .Tp Fl W
                     82: Do not complain about errors.
                     83: .Tp Fl J
                     84: Use long branches to resolve jumps when byte-displacement branches are
                     85: insufficient.  This must be used when a compiler-generated assembly contains
                     86: branches of more than 32k bytes.
                     87: .Tp Fl R
                     88: Make initialized data segments read-only, by concatenating them to
                     89: the text segments.
                     90: This obviates the need to run editor scripts on assembly
                     91: code to make initialized data read-only and shared.
                     92: .Tp Fl t
                     93: Specifies a directory to receive the temporary file, other than
                     94: the default /tmp.
                     95: .Tp
                     96: .Pp
                     97: Symbols remaining undefined upon completion are assumed global
                     98: .Pp
                     99: Output is either placed in
                    100: .Ar outfile,
                    101: if given, or sent
                    102: placed in
                    103: .Pa a.out .
                    104: .Sh FILES
                    105: .Dw /tmp/as*
                    106: .Di L
                    107: .Dp Pa tmp/as\(**
                    108: default temporary files
                    109: .Dp Pa a.out
                    110: default resultant object file
                    111: .Dp
                    112: .Sh SEE ALSO
                    113: .Xr a.out 5 ,
                    114: .Xr adb 1 ,
                    115: .Xr dbx 1 ,
                    116: .Xr ld 1 ,
                    117: .Xr nm 1
                    118: .Pp
                    119: Auxiliary documentation
                    120: .Em Assembler Reference Manual .
                    121: .Sh AUTHORS
                    122: John F. Reiser
                    123: .br
                    124: Robert R. Henry
                    125: .Sh HISTORY
                    126: .Nm As
                    127: appeared
                    128: in Version 6 AT&T UNIX.  The version decsribed here is derived from
                    129: Version 7 AT&T
                    130: .Nm as .
                    131: .Sh BUGS
                    132: .Fl J
                    133: should be eliminated; the assembler should automatically choose among
                    134: 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.