summaryrefslogtreecommitdiff
path: root/x86_64/exit.s
blob: d9c594f82443971c0d4d8a387c85c616e017fc64 (plain)
1
2
3
4
5
6
7
8
9
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