Skip to content

Instantly share code, notes, and snippets.

@qoelet
Created May 8, 2012 20:55
Show Gist options
  • Save qoelet/2639209 to your computer and use it in GitHub Desktop.
Save qoelet/2639209 to your computer and use it in GitHub Desktop.
SECTION .data
HelloWorld: db "Hello World of Assembly!",10
MsgLen: equ $-HelloWorld
SECTION .bss
SECTION .text
global _start
_start:
nop
mov eax,4
mov ebx,1
mov ecx,HelloWorld
mov edx,MsgLen
int 80H
mov eax,1
mov ebx,0
int 80H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment