How to produce assembly code using DMD ?

Daniel Keep daniel.keep.lists at gmail.com
Wed Nov 28 05:39:26 PST 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


More information about the Digitalmars-d-learn mailing list