This article has been dead for over three months
You
format MS COFF
include 'C:\fasm\include\win32a.inc'
;======================================
section '.data' data readable writeable
;======================================
hello_msg db 'Hello, world!',0
;=======================================
section '.text' code readable executable
;=======================================
public _main
extrn '_printf' as printf
_main:
ccall printf,hello_msg
xor eax,eax
ret