Robert Peters 7f878aa890 Revert "github generated gh-pages branch"
This reverts commit 97e0e510b5166dc43f2f33594efebb05b4f9e4a4.
2011-03-13 20:36:14 +01:00

19 lines
328 B
NASM

# nasm linux-x86.nasm -o linux-x86.o -f elf && ld linux-x86.o -m elf_i386 -o linux-x86
section .data
msg db "Hello World", 0xa
len equ $ - msg
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, msg
mov edx, len
int 0x80
mov eax, 1
mov ebx, 0
int 0x80