12345678 |
- .text # Section for machine istructions to be executed
- .global _start # Needed by ld to find his default entry point
- _start: # _start symbol
- mov $60, %rax # Put "60" in %rax register. 60 = sys_exit call
- mov $1, %rdi # Set %rdi register to "1". %rdi = where to put
- # exit status argument of sys_exit
- syscall # Ask Linux to perform syscall indexed by %rax
|