Jump to content
  • Advertisement


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

A. Buza

inline assembler tuts?

This topic is 6444 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

I was just wondering if anyone knew the location of some tutorials that would help me be able to use the VC inline assembler. All the stuff I''ve found has been either for writing stuff in pure asm, or for MASM 2.0 or some equally archaic version. I probably won''t end up using it a lot... just idle curiosity

Share this post

Link to post
Share on other sites
I have a few asm books, but they''re quite confusing to understand, since asm isn''t easy to learn. If your worried about speed, then don''t be (worried). Unless your making the latest, high performance 4D graphics engine, you won''t need it.

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Provided you already know asm and just want to inline it, you just use the asm directive in VC, like so...

__asm singlestatement.....

or for a code block, this one;


Simple, that''s it. There are 2 underlines before the asm directive. You probably could have found this answer easily in the online help. I''m not ragging on you for asking, don''t be offended. I''m just reminding you to use the online help. If you actually need to learn asm, (couldn''t hurt), get this book;

Assembly Language for Intel-Based Computers by Kip R. Irvine.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!