Thread overview
Suggestion: Show Generated Asm
Dec 01, 2010
Eric Poggel
Dec 01, 2010
Michal Minich
Dec 04, 2010
Eric Poggel
December 01, 2010
My apologies if this has been suggested before (I'm new to this list), but it would be a nice IDE feature to select a function or a module and show the assembly that's generated for it.  This would be great for optimizing.
December 01, 2010
On Wed, 01 Dec 2010 01:48:06 -0500, Eric Poggel wrote:

> My apologies if this has been suggested before (I'm new to this list), but it would be a nice IDE feature to select a function or a module and show the assembly that's generated for it.  This would be great for optimizing.

Visual Studio can show you disassembly while debugging, Use VisualD with c2pdb http://www.dsource.org/projects/visuald

use Obj2Asm http://www.digitalmars.com/ctg/obj2asm.html
December 04, 2010
On 12/1/2010 2:29 AM, Michal Minich wrote:
> On Wed, 01 Dec 2010 01:48:06 -0500, Eric Poggel wrote:
>
>> My apologies if this has been suggested before (I'm new to this list),
>> but it would be a nice IDE feature to select a function or a module and
>> show the assembly that's generated for it.  This would be great for
>> optimizing.
>
> Visual Studio can show you disassembly while debugging, Use VisualD with
> c2pdb http://www.dsource.org/projects/visuald
>
> use Obj2Asm http://www.digitalmars.com/ctg/obj2asm.html

I use VisualD (along with Descent) and this is perfect.  I expected an unreadable wall of assembly, but the original statements are inserted above each block of asm.