as: add Chinese translation.

italian
lmh 2019-02-13 15:15:26 +08:00 committed by Marco Bonelli
parent bedea9a804
commit b1306156df
1 changed files with 20 additions and 0 deletions

20
pages.zh/linux/as.md Executable file
View File

@ -0,0 +1,20 @@
# as
> 一个可移植的GUN汇编器.
> 主要用于汇编`gcc`的输出,以供链接器`ld`使用.
- 汇编一个文件输出为a.out:
`as {{文件.s}}`
- 汇编文件,并指定输出文件:
`as {{文件.s}} -o {{输出.o}}`
- 通过跳过空格和注释的预处理过程来更快的产生输出文件(只应该用于可信任的编译器的输出):
`as -f {{文件.s}}`
- 将给定路径添加到目录列表,来搜索.include指令指定的文件:
`as -I {{目录路径}} {{文件.s}}`