aboutsummaryrefslogtreecommitdiffstats
path: root/src/x86_64/postlude.asm
blob: 45be7ee28d57b7c45f91126b7b2d832c82972253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

_start_return:
    ;; return the last value in the stack
    pop     rdi
    call    display

exit:
    ;; exit syscall
    mov     rax, 60
    xor     rdi, rdi
    syscall