Dump Assembly Code Using GCC ============================ Author: Momchil Ivanov Date : 2013.06.16 Introduction ------------ This article describes how to dump the assembly code of a C program using the gcc compiler. Method ------ Dump the assembly code of the program from the file test.c into the file test.s: $ gcc -c -g -Wa,-ahl=test.s test.c