没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
GNU
汇编器
as
的用户手册。
Here is a brief summary of how to invoke as. For details, see section
Command-Line Options.
以下是调用
as
的命令概要,详细内容请见命令行选项一节。
as [ -a[cdhlns][=file] ] [ -D ] [ --defsym sym=val ]
[ -f ] [ --gstabs ] [ --help ] [ -I dir ] [ -J ] [ -K ] [ -L ]
[ --keep-locals ] [ -o objfile ] [ -R ] [ --statistics ] [ -v ]
[ -version ] [ --version ] [ -W ] [ -w ] [ -x ] [ -Z ]
[ -mbig-endian | -mlittle-endian ]
[ -m[arm]1 | -m[arm]2 | -m[arm]250 | -m[arm]3 | -m[arm]6 | -m[arm]7[t][[d]m[i]] ]
[ -m[arm]v2 | -m[arm]v2a | -m[arm]v3 | -m[arm]v3m | -m[arm]v4 | -m[arm]v4t ]
[ -mthumb | -mall ]
[ -mfpa10 | -mfpa11 | -mfpe-old | -mno-fpu ]
[ -EB | -EL ]
[ -mapcs-32 | -mapcs-26 ]
[ -O ]
[ -Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite
-Av8plus | -Av8plusa | -Av9 | -Av9a ]
[ -xarch=v8plus | -xarch=v8plusa ] [ -bump ] [ -32 | -64 ]
[ -ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC ]
[ -b ] [ -no-relax ]
[ -l ] [ -m68000 | -m68010 | -m68020 | ... ]
[ -nocpp ] [ -EL ] [ -EB ] [ -G num ] [ -mcpu=CPU ]
[ -mips1 ] [ -mips2 ] [ -mips3 ] [ -m4650 ] [ -no-m4650 ]
[ --trap ] [ --break ]
[ --emulation=name ]
[ -- | files ... ]
-a[cdhlmns]
Turn on listings, in any of a variety of ways:
打开清单输出选项,可以任意使用以下各种方法:
-ac
omit false conditionals
忽略假条件
-ad
omit debugging directives
忽略调试指示
-ah
include high-level source
包含高层源代码
-al
include assembly
包含汇编代码
-am
include macro expansions
包含宏扩展
-an
omit forms processing
忽略
forms
处理
-as
include symbols
包含符号表
=file
set the name of the listing file
设置清单文件名
You may combine these options; for example, use `-aln' for assembly listing
without forms processing. The `=file' option, if used, must be the last one.
By itself, `-a' defaults to `-ahls'.
你可以联合使用这些选项;例如,要获得未经过
forms
处理的汇编代码清单可使用
'-aln'
,
如果要使用 ‘
=file’
选项,它必须在最后一个位置,选项‘
-a’
缺省含义是
'-ahls'
。
-D
Ignored. This option is accepted for script compatibility with calls to other
assemblers.
忽略。为和使用其它汇编器的脚本兼容而保留。
--defsym sym=value
Define the symbol sym to be value before assembling the input file. value must
be an integer constant. As in C, a leading `0x' indicates a hexadecimal value,
and a leading `0' indicates an octal value.
处理输入文件前,定义符号
sym
的值为
value
。
value
必须是整形常量。同在
'C'
中一样,前导
字符
'0x'
标志十六进制值,前导字符
'0'
标志八进制值。
-f
"fast"---skip whitespace and comment preprocessing (assume source is compiler
output).
“
加速处理”
---
跳过空白和注释处理(假定输入源文件是一可信赖的编译器产生的)
--gstabs
Generate stabs debugging information for each assembler line. This may help
debugging assembler code, if the debugger can handle it.
生成逐行的
stabs
格式调试信息,如果调试器可以处理这种格式的信息将有助于汇编代码调
试。
--help
Print a summary of the command line options and exit.
打印命令行选项概要后退出。
-I dir
Add directory dir to the search list for .include directives.
为
.include
汇编指示增加搜索目录。
-J
Don't warn about signed overflow.
不警告符号溢出。
-K
Issue warnings when difference tables altered for long displacements.
长跳切换表时发出警告。
-L
--keep-locals
Keep (in the symbol table) local symbols. On traditional a.out systems these
start with `L', but different systems have different local label prefixes.
保留(符号表中的)局部符号。在传统的
a.out
系统中这些符号有
'L'
前缀,但是在不同
的系统中有不同的局部符号前缀。
-o objfile
Name the object-file output from as objfile.
as
输出的目标文件名。
-R
Fold the data section into the text section.
交迭数据段和代码段。
--statistics
Print the maximum space (in bytes) and total time (in seconds) used by
assembly.
打印汇编过程使用的最大空间(字节)和总计时间(秒)。
--strip-local-absolute
Remove local absolute symbols from the outgoing symbol table.
从输出符号表中移除局部绝对符号。
-v
-version
Print the as version.
打印
as
的版本。
--version
Print the as version and exit.
打印
as
的版本后退出。
-W
Suppress warning messages.
压制警告信息。
-w
Ignored.
忽略。
-x
Ignored.
忽略。
-Z
Generate an object file even after errors.
即使发生错误也要生成目标文件。
-- | files ...
Standard input, or source files to assemble.
标准输入或汇编源文件。
The following options are available when as is configured for an ARC processor.
以下选项,当配置
as
为
ARC
处理器时有效。
-mbig-endian
Generate "big endian" format output.
生成“大端”格式输出。
-mlittle-endian
Generate "little endian" format output.
生成“小端”格式输出。
The following options are available when as is configured for the ARM processor
family.
以下选项,当配置
as
为
ARM
处理器族时有效。
-m[arm]1 | -m[arm]2 | -m[arm]250 | -m[arm]3 | -m[arm]6 | -m[arm]7[t][[d]m] |
-m[arm]v2 | -m[arm]v2a | -m[arm]v3 | -m[arm]v3m | -m[arm]v4 | -m[arm]v4t
Specify which variant of the ARM architecture is the target.
指定不同的目标架构。
-mthumb | -mall
Enable or disable Thumb only instruction decoding.
禁止或使能仅用
Thumb
指令译码。
-mfpa10 | -mfpa11 | -mfpe-old | -mno-fpu
Select which Floating Point architcture is the target.
选择不同的浮点目标架构。
-mapcs-32 | -mapcs-26
Select which procedure calling convention is in use.
选择使用的调用习惯。
-EB | -EL
Select either big-endian (-EB) or little-endian (-EL) output.
选择大端
(-EB)
或小端
(-EL)
输出格式。
The following options are available when as is configured for a D10V processor.
以下选项,当配置
as
为
D10V
处理器时有效。
-O
Optimize output by parallelizing instructions.
优化并行指令输出。
The following options are available when as is configured for the Intel 80960
processor.
以下选项,当配置
as
为英特尔
80960
处理器时有效。
-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC
Specify which variant of the 960 architecture is the target.
指定不同的
960
目标架构。
-b
Add code to collect statistics about branches taken.
加入分支统计代码。
-no-relax
Do not alter compare-and-branch instructions for long displacements; error if
necessary.
不为长跳改变比较和分支指令;如果必须改变就发出错误指示。
The following options are available when as is configured for the Motorola 68000
series.
剩余62页未读,继续阅读
资源评论
- K_Ryan2014-09-24很贵啊,忍痛下了
madaossan
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功