Nasm Win32 MessageBox

;; To Compile:
;; Assuming you had already installed mingw gcc and nasm
;; nasm -f elf source.asm
;; gcc -o message_box.exe source.o -mwindows
global [email protected]
extern [email protected]

[section .data]
title db "Message",0
message db "Hellow World!",0

[section .code]
[email protected]:
push 0
push title
push message
push 0
call [email protected]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!