NASM入門 puts
global main extern puts section .text main: mov rdi, message call puts wrt ..plt ret message: db "hola", 0
nasm -felf64 hola.asm gcc -o hola hola.o
global main extern puts section .text main: mov rdi, message call puts wrt ..plt ret message: db "hola", 0
nasm -felf64 hola.asm gcc -o hola hola.o