global _start global sys_write extern main section .text sys_write: mov rax, 1 syscall ret _start: call main mov rdi, rax mov rax, 60 syscall