• Welcome to Valhalla Legends Archive.
 

Some sort of delay code needed!

Started by Paul, February 17, 2004, 05:36 AM

Previous topic - Next topic

Kp

Quote from: iago on February 19, 2004, 08:18 AM
aah, ok, so test doesn't care about nearly as many different things.  So you can't use a test then jle, and such?

You could, actually.  According to the x86 instruction set reference, test sets OF to 0 and SF to the MSB (among other things).  jle branches on ZF=1 or SF!=OF, so it would indeed work properly.  However, I'd suggest consulting the instruction set reference to determine what the behaviors of the various flags are for test and what the Jcc instructions are going to be examining before you go trying to extend this to other types of jumps.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Paul

Just wanted to thank Adron for suggesting the delay idea once again. I finished a build of my program, if you play D2 and wanna check it out you can find it here:

http://www.blizzhackers.com/phpBB2/viewtopic.php?t=131082

Thanks again!