INCLUDE irvine32.inc
.data
BoxTitle BYTE "my first Box",0 ;Title
Message BYTE "This my First Message Box in Assembly Language",0dh,0ah,0h ; messsage
.code
main PROC
mov ebx,OFFSET BoxTitle ; mov title in ebx register it os optional
mov edx , OFFSET Message ; mov message in edx register
call MsgBox
exit
main ENDP
END main
.data
BoxTitle BYTE "my first Box",0 ;Title
Message BYTE "This my First Message Box in Assembly Language",0dh,0ah,0h ; messsage
.code
main PROC
mov ebx,OFFSET BoxTitle ; mov title in ebx register it os optional
mov edx , OFFSET Message ; mov message in edx register
call MsgBox
exit
main ENDP
END main