Jump to content
  • Advertisement

Archived

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

En3my

C++ -> ASM?

This topic is 5539 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Try getting a book on compiler design. It isn''t one of my strong areas (my "compiler" can only deal with a few very simple instructions) but I''m sure there are resources out there.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You could take a look at the Assembler-Output of your Compiler..

Greets
Julien

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!