.text # switch to program (code) space .global _start # release the definition of _start to the linker _start: # define a label for the beginning of this program movl $0xabcd1234, %eax movl %eax, %ebx # typical exit code follows movl $0x1, %eax # this tell the OS that we want to quit movl $0x0, %ebx # an exit code of 0 means normal termination int $0x80 # request OS service