Intel Assembler Hello World
; ---------------------------------------------------------------------------- ; From: http://cs.lmu.edu/~ray/notes/nasmexamples/ ; ; helloworld.asm ; ; This is a Win32 console program that writes "Hello, World" on one line and ; then exits. It needs to be linked with a C library. ; ---------------------------------------------------------------------------- global main extern printf section .text main: push message call printf add esp, 4 ret section .data message: db 'Hello, World', 10, 0