Created
June 5, 2013 14:38
-
-
Save Overv/5714335 to your computer and use it in GitHub Desktop.
Hello World in x86 assembly with Intel syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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