summaryrefslogtreecommitdiffstats
path: root/syscall.s
blob: cf3cacb25f4ced619c1fc8463ed8b6a64f578770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.intel_syntax noprefix

.global write
.global exit


write:
	mov rax, 1
	syscall
	ret

exit:
    mov rax, 60
    syscall