compiling to assembly, annotate with source

Started by hanelyp, February 08, 2006, 03:34:16 AM

Previous topic - Next topic

hanelyp

When compiling to assembly code, including the C source as comments would be great help in manually tracing through the assembly.  perhaps a command line switch on pocc.

Pelle

Maybe. Another approach is to produce a normal OBJ file with the /Zd option, and then use PODUMP -disasm <somename>.OBJ. If <somename>.C can be located by PODUMP, you should see source code mixed with assembly code. This is what I use myself...

Pelle
/Pelle