|
|
1.1 root 1: .th AS I 1/15/73
2: .sh NAME
3: as \*- assembler
4: .sh SYNOPSIS
5: .bd as
6: [
7: .bd \*-
8: ] name ...
9: .sh DESCRIPTION
10: .it As
11: assembles the concatenation of the named files.
12: If the optional first argument
13: .bd \*-
14: is used,
15: all undefined symbols in the assembly
16: are treated as global.
17: .s3
18: The output of the assembly is left on the file
19: .bd "a.out."
20: It is executable if no errors occurred
21: during the assembly,
22: and if there were no unresolved external references.
23: .sh FILES
24: /etc/as2 pass 2 of the assembler
25: .br
26: /tmp/atm[1-4]? temporary
27: .br
28: a.out object
29: .sh "SEE ALSO"
30: ld(I),
31: nm(I),
32: db(I),
33: a.out(V),
34: `UNIX Assembler Manual'.
35: .sh DIAGNOSTICS
36: When
37: an input file cannot be read, its name
38: followed by a question mark is typed and assembly
39: ceases.
40: When syntactic or semantic errors occur, a single-character diagnostic is typed out
41: together with the line number and the file name in which it
42: occurred.
43: Errors in pass 1 cause cancellation of pass 2.
44: The possible errors are:
45: .s3
46: .ta 3
47: ) Parentheses error
48: .br
49: ] Parentheses error
50: .br
51: < String not terminated properly
52: .br
53: * Indirection used illegally
54: .br
55: .li
56: \fB.\fR Illegal assignment to `\fB.\fR'
57: .br
58: A Error in address
59: .br
60: B Branch instruction is odd or too remote
61: .br
62: E Error in expression
63: .br
64: F Error in local (`f' or `b') type symbol
65: .br
66: G Garbage (unknown) character
67: .br
68: I End of file inside an if
69: .br
70: M Multiply defined symbol as label
71: .br
72: O Word quantity assembled at odd address
73: .br
74: P `\fB.\fR' different in pass 1 and 2
75: .br
76: R Relocation error
77: .br
78: U Undefined symbol
79: .br
80: X Syntax error
81: .br
82: .sh BUGS
83: Symbol table overflow is not checked.
84: \fBx\fR errors can cause incorrect line numbers
85: in following diagnostics.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.