%include "IO_DEFS.asm" ; Because my memory is not working ; x /11g $rsp section .data number dq 24601 result dq 0 section .bss section .text global _start _start: ; this will push the result address push qword result ; this will push the value at number push qword [number] ; store the number in rax pop rax ; store the destination in rbx pop rbx mov [rbx], rax ; Exit mov eax, SYS_EXIT mov edx, SUCCESS syscall