Hi sydhsnazm,
Welcome to the Pelles C forum. You would like to use Pelle's Macro Assembler Poasm which has very similar syntax to that of Masm.
.386
.model flat,stdcall
option casemap:none
ExitProcess PROTO :DWORD
MessageBoxA PROTO :DWORD,:DWORD,:DWORD,:DWORD
MessageBox TEXTEQU <MessageBoxA>
includelib kernel32.lib
includelib user32.lib
MB_OK equ 0
.data
msg db 'Hello world!',0
capt db 'Message box',0
.code
start:
invoke MessageBox,0,ADDR msg,ADDR capt,MB_OK
invoke ExitProcess,0
END start
Assembling the code :
\PellesC\bin\poasm /AIA32 Hello.asm
\PellesC\bin\polink /SUBSYSTEM:WINDOWS /LIBPATH:\PellesC\Lib\Win Hello.obj