Programming From The Ground Up In order to assemble and link, use: as file.s -o file.o --32 gcc file.o -o file -m32