Download Using as - the FreeBSD Documentation Server

Transcript
Chapter 1: Overview
1
1 Overview
This manual is a user guide to the GNU assembler as.
Here is a brief summary of how to invoke as. For details, see Chapter 2 [Comand-Line
Options], page 5.
as
[
[
[
[
[
[
[ -a | -al | -as ] [ -D ] [ -f ]
-I path ] [ -k ] [ -L ]
-o objle ] [ -R ] [ -v ] [ -w ]
-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC ]
-b ] [ -norelax ]
-l ] [ -mc68000 | -mc68010 | -mc68020 ]
-- | les : : : ]
-a | -al | -as
Turn on assembly listings; `-al', listing only, `-as', symbols only, `-a', everything.
-D
This option is accepted only for script compatibility with calls to other assemblers; it has no eect on as.
-f
\fast"|skip preprocessing (assume source is compiler output)
-I path
Add path to the search list for .include directives
-k
Issue warnings when dierence tables altered for long displacements.
-L
Keep (in symbol table) local symbols, starting with `L'
-o objle Name the object-le output from as
-R
Fold data section into text section
-v
Announce as version
-W
Suppress warning messages
-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC
-b
-norelax
-l
(When congured for Intel 960). Specify which variant of the 960 architecture
is the target.
(When congured for Intel 960). Add code to collect statistics about branches
taken.
(When congured for Intel 960). Do not alter compare-and-branch instructions
for long displacements; error if necessary.
(When congured for Motorola 68000). Shorten references to undened symbols, to one word instead of two
-mc68000 | -mc68010 | -mc68020
-- |
les
(When congured for Motorola 68000). Specify what processor in the 68000
family is the target (default 68020)
:::
Standard input, or source les to assemble