Linux Assemblers: A Comparison of GAS and NASM

286

Author: JT Smith

This article explains some of the more important syntactic and semantic differences between two of the most popular assemblers for Linux, GNU Assembler (GAS) and Netwide Assembler (NASM), including differences in basic syntax, variables and memory access, macro handling, functions and external routines, stack handling, and techniques for easily repeating blocks of code.

Link: ibm.com/developerwork

Category:

  • Linux