GNU Assembler is a compiler created in 1986. The GNU Assembler, commonly known as gas or simply as, its executable name, is the assembler used by the GNU Project. It is the default back-end of GCC. It is used to assemble the GNU operating system and the Linux kernel, and various other software. Read more on Wikipedia...
- the GNU Assembler wikipedia page
- GNU Assembler first appeared in 1986
- See also: c, unix, powerpc, mips, arm, linux, ia-32, x86-isa
- Have a question about GNU Assembler not answered here? Email me and let me know how I can help.
Example code from Wikipedia:
.global _start .text _start: movl $4, %eax movl $1, %ebx movl $msg, %ecx movl $len, %edx int $0x80 movl $1, %eax movl $0, %ebx int $0x80 .data msg: .ascii "Hello, world!\n" len = . - msg
Last updated February 18th, 2020