digitalmars.D.learn - How to produce assembly code using DMD ?
- z_axis <z_axis 163.com> Nov 28 2007
- Daniel Keep <daniel.keep.lists gmail.com> Nov 28 2007
- "Jarrett Billingsley" <kb3ctd2 yahoo.com> Nov 28 2007
z_axis wrote:like GCC does using -s switch regards!
AFAIK, you can't. Walter sells a tool which will decompile an object file into assembler, though, as part of the extended utilities package. Failing that, there's always ndisasmw. Just be prepared to sprinkle your code with magic numbers to work out where the hell your functions are ;) -- Daniel
Nov 28 2007
"z_axis" <z_axis 163.com> wrote in message news:op.t2h38nm91uofcn sw2wolf...like GCC does using -s switch regards!
If you're on linux, DMD comes with another program, dumpbin, which you can do to disassemble an already-compiled object file.
Nov 28 2007









Daniel Keep <daniel.keep.lists gmail.com> 