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

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

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