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.
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.
Most C compilers have an option to output assembly code.
Hi _OuzO_ ,
Compilers like VC++ and PellesC are supporting the automatic translation feature.
Compilers like VC++ and PellesC are supporting the automatic translation feature.
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_
I find it very useful.
Thanks guys. :)
_OuzO_