GitHub_collection_hello-world/a/assembler_nasm_win32.asm

11 lines
134 B
NASM

BITS 32
global _main
extern _printf
section .text
push msg
call _printf
add esp,4
ret
section .data
msg: db "Hello world",0Ah,0