Oct 3 2011

Hello world!

/* HelloWorld.c */
#include <stdio.h>

int main(int argc, char** argv)
{
 printf("Hello World!");
 return 0;
}
; HelloWorld.asm
section .text
 push dword len
 push dword msg
 push dword 1
 mov eax,0x4
 int 0x80

section .data

msg db "Hello World!",0xa
len equ $ - msg