Transleting C to Masm with the compiler of the VCTOOLKIT

Started by ToutEnMasm, April 07, 2005, 08:49:19 AM

Previous topic - Next topic

ToutEnMasm

Hello,
In the comments on the VCTOOLKIT it is said

This is a premium tool from Microsoft where you can write applications in C, try out .NET and use the compiler to convert  C code to MASM code.

How to proceed ?
                                         ToutEnMasm

hutch--

ToutEnMasm,

Glad to see you back again. Run CL /? and redirect it to a txt file to get all of the options. One of them is to output an assembler file as well as the OBJ file. If you have optimisation turned on its hard to read but if you want a basic algo to optimise, build the C procedure with optimisation turned off as its a lot easier to modify.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex

ToutEnMasm,

If I remember well, the switch should be something like /FAs

ToutEnMasm

Hello,
Thanks at all.
cl /Od /FAs  name.c
It's OK
                            ToutEnMasm