section .data
    suma dq 0

section .text
    global _start

sumar:
    mov rax, rdi
    add rax, rsi
    ret

_start:
    mov rdi, 20
    mov rsi, 47
    call sumar
    mov [suma], rax
    mov rax, 60
    mov rdi, suma
    syscall

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: