어셈블리어로 Hello World 12번 출력하기
section .data msg db "Hello World", 0ahsection .text global _start_start: mov rax, 1 mov rdi, 1 mov rsi, msg mov rdx, 12 mov r10, 1again: cmp r10, 13 je done syscall mov rax, 1 inc r10 jmp againdone: mov rax, 60 mov rdi, 0 syscall