Created
June 18, 2011 15:55
-
-
Save nathanpc/1033212 to your computer and use it in GitHub Desktop.
HelloWorld Dialog For Win32
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
; Hello world in Assembler for the Win32 architecture | |
TITLE Hello world in win32. Tasm | |
VERSION T310 | |
Model use32 Flat,StdCall | |
start_code segment byte public 'code' use32 | |
begin: | |
Call MessageBox, 0, offset sHallo, offset caption, 0 | |
Call ExitProcess, 0 | |
start_code Ends | |
start_data segment byte public 'data' use32 | |
sHallo db 'Hello world',0 | |
caption db "Hi",0 | |
start_data Ends | |
End begin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment