Skip to content

Instantly share code, notes, and snippets.

@nathanpc
Created June 18, 2011 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanpc/1033212 to your computer and use it in GitHub Desktop.
Save nathanpc/1033212 to your computer and use it in GitHub Desktop.
HelloWorld Dialog For Win32
; 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