Created
November 13, 2017 01:54
-
-
Save macostag/436858598187310dd4674614483fe9bd to your computer and use it in GitHub Desktop.
"Hello World" assembly program.
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
.386 | |
.model flat, stdcall | |
option casemap :none | |
extrn MessageBoxA@16 : PROC | |
extrn ExitProcess@4 : PROC | |
.data | |
HelloW db "Hello World!!!",0 | |
TitleH db "MessageBox",0 | |
.code | |
start: | |
mov eax,0 | |
push eax | |
lea ebx, TitleH | |
push ebx | |
lea ebx, HelloW | |
push ebx | |
push eax | |
call MessageBoxA@16 | |
push eax | |
call ExitProcess@4 | |
end start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment