Hi GTN,
Here is a simple FASM Ms Coff sample for you:
format MS COFF
public start
Include '%fasminc%\win32a.inc'
extrn '__imp__ExitProcess@4' as ExitProcess:dword
extrn '__imp__MessageBoxA@16' as MessageBox:dword
section '.data' data readable writeable
caption db 'Hello',0
message db 'This is a FASM example',0
section '.code' code readable executable
start:
invoke MessageBox,0,message,caption,MB_OK
invoke ExitProcess,0
Building the executable:
set fasminc=\fasmw\include
call povars32.bat
fasm Msgbox.asm
polink /SUBSYSTEM:WINDOWS /ENTRY:start Msgbox.obj kernel32.lib user32.lib