Skip to content

Instantly share code, notes, and snippets.

@Overv
Created June 5, 2013 14:38
Show Gist options
  • Save Overv/5714335 to your computer and use it in GitHub Desktop.
Save Overv/5714335 to your computer and use it in GitHub Desktop.
Hello World in x86 assembly with Intel syntax
extern exit, printf
section .data
msg db "Hello World!", 10, 0
section .text
global main
main:
push msg
call printf
mov dword [esp], 0
call exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment