Archived

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

_asm int 3

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

Use Google next time, eh?

_asm tells the compiler that the rest of the line contains assembly code. That code issues interrupt 3, which is...I don''t remember. Look it up.

Share this post


Link to post
Share on other sites
which is...

... software breakpoint. _asm int 3 is a faster and generally more convenient way of doing DebugBreak(); on x86.

Share this post


Link to post
Share on other sites
Well, it''s not really faster, it''s just convenient since you don''t have to jump out of the DebugBreak() function after it breaks. Of course, unlike DebugBreak(), it''s not portable. Not really an issue these days, but Windows (NT at least) used to run on Alphas and a few other CPUs...


codeka.com - Just click it.

Share this post


Link to post
Share on other sites