|
|
1.1 root 1: .TH AS 1
2: .CT 1 prog_other
3: .SH NAME
4: as \- assembler
5: .SH SYNOPSIS
6: .B as
7: [
8: .I option ...
9: ]
10: [
11: .I name ...
12: ]
13: .SH DESCRIPTION
14: .I As
15: assembles the named files, or the standard input if no file name is specified.
16: The options are:
17: .TP
18: .BI -d n
19: Specifies the number of bytes
20: .I n
21: (1, 2, or 4) to be assembled for offsets
22: which involve forward or external references, and which have sizes unspecified
23: in the assembly language.
24: Default is
25: .BR -d4 .
26: .TP
27: .B -L
28: Save defined labels that begin with
29: .LR L ,
30: which are normally discarded
31: to save space in the resultant symbol table.
32: The compilers generate such temporary labels.
33: .TP
34: .B -V
35: Use virtual memory for intermediate storage, rather than a temporary file.
36: .TP
37: .B -W
38: Do not complain about errors.
39: .TP
40: .B -J
41: Use long branches to resolve jumps when byte-displacement branches are
42: insufficient. This must be used when a compiler-generated assembly contains
43: branches of more than 32K bytes.
44: .TP
45: .B -R
46: Make initialized data segments read-only, by concatenating them to
47: the text segments.
48: This obviates the need to run editor scripts on assembly
49: code to make initialized data read-only and shared.
50: .TP
51: .B -t
52: Specifies a directory to receive the temporary file, other than
53: the default
54: .FR /tmp .
55: .TP
56: .BI -o obj
57: Place output in file
58: .I obj.
59: Default is
60: .FR a.out .
61: .PP
62: All undefined symbols in the assembly
63: are treated as global.
64: .SH FILES
65: .TF /tmp/as*
66: .TP
67: .F /tmp/as*
68: default temporary file
69: .TP
70: .F a.out
71: default object file
72: .SH "SEE ALSO"
73: .IR ld (1),
74: .IR nm (1),
75: .IR adb (1),
76: .IR pi (9.1),
77: .IR a.out (5)
78: .br
79: J. F. Reiser and R. R. Henry
80: `Assembler Reference Manual',
81: .I Unix Programmer's Manual, Seventh Edition, Virtual VAX-11 Version,
82: 1980, Volume 2C (Berkeley)
83: .SH BUGS
84: .B -J
85: should be eliminated; the assembler should automatically choose among
86: byte, word and long branches.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.