Archived

This topic is now archived and is closed to further replies.

En3my

C++ -> ASM?

Recommended Posts

Hi all, I have been playing around with Assembly-language for a few months now, and I wonder if anyone know a good place for information on what actually happens when C++ code compiles into binary. Well, actually it''s the ASM code that I''m curious about, especially VTABLES amongst other concepts. I''d rather look at something else than the debugger! :D Books? Websites?

Share this post


Link to post
Share on other sites
Thanks! I''d rather find some other way than looking into the ASM-output, cause it would take quite some time. It would be good learning though. I will see if I can find something on compiler design.

Anyone else have any recommendations?

Share this post


Link to post
Share on other sites
Like it or not, the debugger can be an extremely useful tool. In particular, in VC++, check out the _vtabl member of virtual classes. Very informative.

Unfortunately, much of this stuff is compiler-dependent, so the compiler itself is the best source. Also check out the MSDN documentation; there''s quite a few pearls in there.


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites