11-22-2011, 06:06 PM
One of the most unknown codes known to Programmer-minds.
Code:
.486
.model flat, stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
.data
HelloWorld db "Hello World!", 0
HelloTitle db "Pop up!", 0
.code
start:
invoke MessageBox, NULL, addr HelloWorld, addr HelloTitle, MB_OK
invoke ExitProcess, 0
end start