summaryrefslogtreecommitdiff
path: root/tiny.s
blob: 1d3a9010a0393887cbc2db74659199c1f792a83e (plain)
1
2
3
4
5
6
7
8
9
10
11
BITS 64
section .text
    global _start

_start:
    ; 60 = syscall exit
    mov eax, ecx

    ; rdi is exit code
    mov rdi, 0x41
    syscall