diff options
Diffstat (limited to 'x86_64/exit.s')
| -rw-r--r-- | x86_64/exit.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x86_64/exit.s b/x86_64/exit.s new file mode 100644 index 0000000..d9c594f --- /dev/null +++ b/x86_64/exit.s @@ -0,0 +1,10 @@ +# Simple program that just exits with a simple status code + +.globl _start + +.section .text + +_start: + movq $60, %rax # sys_exit + movq $66, %rdi + syscall |
