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

_start:
    ; 60 = syscall exit
    xor rax, rax
    mov ax, 0x1

    ; rdi is exit code
    mov edi, 0x41
    syscall