aboutsummaryrefslogtreecommitdiffstats
path: root/src/x86_64/postlude.asm
blob: 139c4e1585b70709db1eef860b79f05b2950766f (plain)
1
2
3
4
5
6
7
8
    ;; return the last value in the stack
    pop     rdi
    call    printdln

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