Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using the as command of linux GUN assembler

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you the use of linux as command GUN assembler, I hope you read this article after the harvest, let us discuss it together!

The as command is a member of the GNU Binutils binary toolset, an assembly language compiler set launched by GNU for compiling assembly code into binary code, which supports a variety of different types of processors.

Syntax format: as [parameter] [file]

Common parameters:

When developing under linux, the as command is rarely used alone for assembly operations, and assembly and linking operations are usually automatically completed by the gcc command.

Reference Example

Suppose there is an assembly file linuxcool.s, which becomes a binary.o file:

[root@linuxcool ~]# as linuxcool.s -o linuxcool.o

Ignore failure condition assembly file linuxcool.s:

[root@linuxcool ~]# as -ac linuxcool.s -o linuxcool.o

Generate debug information for assembly:

[root@linuxcool ~]# as -g linuxcool.s -o linuxcool.o After reading this article, I believe you have a certain understanding of the use of linux as command GUN assembler. If you want to know more, welcome to pay attention to the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report