Is there a program that can convert a NASM syntax assembly file to either a simplified or full segment defined MASM file?

I'm using the LADsoft cc386 Win32 C compiler to generate NASM syntax files, but all of the books I am studying (save Jeff Duntemann's) cover MASM. I sort of know the basics of both C and assembly and hope this compiler and MASM will help me in my growth as a programmer in both languages.

Does anyone know of a better way of generating MASM files with a (free) C/C++ compiler?

BTW: Hi. I'm excited to find a forum devoted to Win32 assembly.
Posted on 2002-10-16 00:09:58 by Masmer
LadSoft cc386 DOES support MASM

cc386.exe example.c /C+M+F

... of course that is not compile if you dont make some changes
(add includes, remove extrn, add WinMain after END, replace call to internal
libraries - _strlen for example, add after .MODEL FLAT ",stdcall")

also check some things (in example file win.c it screw up parameters to TextOut )

btw, thanks for the link
Posted on 2002-10-16 01:58:13 by TBD
Ah! I forgot to check the command line help. Thanks for the help friend! :alright:
Posted on 2002-10-16 02:31:49 by Masmer