I believe that there is a register on pentium 3's....

by Ben (no login)

 

That is called xchg or something, why not use that?

I'd assume that 3 mov's is slightly slower then one xchg? And no wasted memory and probably faster then SUB because they may give back memory but they probably have a slight delay when you call the SUBs.

Posted on Jan 22, 2009, 12:10 PM

Respond to this message   

Goto Forum Home

Response TitleAuthor and Date
*So you want the OP to write a QB library in ASM for exchanging numbers...Galleon on Jan 22
 * Sure, why not?Ben on Jan 22
  * Yeah, Ben does not like working in his future........Clippy on Jan 22

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement