Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

GNU Assembler

< >

GNU Assembler is an open source compiler created in 1986.

#1222on PLDB 38Years Old

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...


Example 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

View source

- Build the next great programming language About Acknowledgements Extensions Day 628 Donate feedback@pldb.io