I was making an assembly program on intel x64 but I got segmentation fault error
this is the code: ;hello3.asm ;27/06/2024 extern printf section .data msg db “this is a message”, 0 fmtstr db “%s”, 0 section .bss section .text global main main: mov rdi, fmtstr mov rsi, msg mov rax, 0 call printf mov rax, 60 mov rdi, 0 syscall I got after compiling with nasm and linking using […]