Hi folks,
do you think there is a way to automatically translate a C source code into MASM language?
I mean any work-around to get even a rough translation into a rude asm dialect will do.
No matters if masm macros are not used, a good outcome would be to have asm code where all C comments are reported, the name of C variables are preserved and so on.

I think it could be useful for all newbies - and for me? ;) - to see how it looks n feels a C code you already know when translated into masm.

Thx.
Posted on 2005-05-17 03:18:37 by _OuzO_
Most C compilers have an option to output assembly code.
Posted on 2005-05-17 04:21:18 by Jibz
Hi _OuzO_ ,

Compilers like VC++ and PellesC are supporting the automatic translation feature.
Posted on 2005-05-17 04:49:52 by Vortex
Yes, it works! I tried with VC++ with -FAs option and it mixes C lines with asm lines. So one can see how a single line of code is translated.
I find it very useful.

Thanks guys. :)

_OuzO_
Posted on 2005-05-18 02:14:48 by _OuzO_