Possible Duplicate:
How to generate assembly code from C++ source in Visual Studio 2010
Is it possible to compile C++ into assembly code in Visual Studio 2010 (or a free IDE) for a specific processor (for example, a microcontroller)?
Thanks in advance for your help.
it should be possible. i have converted c code to assembly.
Simply compile it with the option for an assembly listing.
use /FA switch
this will generate the required assembly code but if you want it to be micro processor specific i think you need to do more research. Not all micro processors support same assembly codes. try using the generated assembly code in a simulator.