Commit | Line | Data |
---|---|---|
d8e69841 KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
ff126578 | 5 | .\" @(#)as.1 5.1 (Berkeley) %G% |
d8e69841 | 6 | .\" |
ff126578 | 7 | .TH AS 1 "July 1, 1983" |
d8e69841 KM |
8 | .UC 4 |
9 | .SH NAME | |
ff126578 | 10 | as \- VAX-11 assembler |
d8e69841 KM |
11 | .SH SYNOPSIS |
12 | .B as | |
13 | [ | |
14 | .B \-d124 | |
15 | ] [ | |
16 | .B \-L | |
17 | ] [ | |
18 | .B \-W | |
19 | ] [ | |
20 | .B \-V | |
21 | ] [ | |
22 | .B \-J | |
23 | ] [ | |
24 | .B \-R | |
25 | ] [ | |
26 | .B \-t | |
27 | directory | |
28 | ] [ | |
29 | .B \-o | |
30 | objfile ] [ name ... ] | |
31 | .SH DESCRIPTION | |
32 | .I As | |
33 | assembles the named files, or the standard input if no file name is specified. | |
34 | The available flags are: | |
35 | .TP | |
36 | .B \-d | |
37 | Specifies the number of bytes to be assembled for offsets | |
38 | which involve forward or external references, and which have sizes unspecified | |
39 | in the assembly language. | |
40 | The default is | |
41 | .B \-d4. | |
42 | .TP | |
43 | .B \-L | |
44 | Save defined labels beginning with a `L', which are normally discarded | |
45 | to save space in the resultant symbol table. | |
46 | The compilers generate such temporary labels. | |
47 | .TP | |
48 | .B \-V | |
ff126578 KM |
49 | Use virtual memory for some intermediate storage, |
50 | rather than a temporary file. | |
d8e69841 KM |
51 | .TP |
52 | .B \-W | |
53 | Do not complain about errors. | |
54 | .TP | |
55 | .B \-J | |
56 | Use long branches to resolve jumps when byte-displacement branches are | |
57 | insufficient. This must be used when a compiler-generated assembly contains | |
58 | branches of more than 32k bytes. | |
59 | .TP | |
60 | .B \-R | |
61 | Make initialized data segments read-only, by concatenating them to | |
62 | the text segments. | |
63 | This obviates the need to run editor scripts on assembly | |
64 | code to make initialized data read-only and shared. | |
65 | .TP | |
66 | .B \-t | |
67 | Specifies a directory to receive the temporary file, other than | |
68 | the default /tmp. | |
69 | .PP | |
70 | All undefined symbols in the assembly | |
71 | are treated as global. | |
72 | .PP | |
73 | The output of the assembly is left on the file | |
74 | .I objfile; | |
75 | if that is omitted, | |
76 | .I a.out | |
77 | is used. | |
78 | .SH FILES | |
79 | .ta 1.5i | |
ff126578 | 80 | /tmp/as\(** default temporary files |
d8e69841 KM |
81 | .br |
82 | a.out default resultant object file | |
83 | .SH "SEE ALSO" | |
84 | ld(1), | |
85 | nm(1), | |
86 | adb(1), | |
ff126578 | 87 | dbx(1), |
d8e69841 KM |
88 | a.out(5) |
89 | .br | |
90 | Auxiliary documentation | |
91 | .I Assembler Reference Manual. | |
92 | .SH AUTHORS | |
93 | John F. Reiser | |
94 | .br | |
95 | Robert R. Henry | |
96 | .SH BUGS | |
97 | .B \-J | |
98 | should be eliminated; the assembler should automatically choose among | |
99 | byte, word and long branches. |