| View previous topic :: View next topic |
| Author |
Message |
Must Advanced Cheater
Reputation: 0
Joined: 20 May 2007 Posts: 68
|
Posted: Fri May 25, 2007 10:16 pm Post subject: how to zf TICK JE in script ? |
|
|
| how to zf TICK JE in script ?
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Fri May 25, 2007 11:11 pm Post subject: |
|
|
you can't set the zeroflag in AA. there is no instruction just to set it. however there is something to set carry flag. STC will set carry flag.
_________________
|
|
| Back to top |
|
 |
xlcs Grandmaster Cheater
Reputation: 0
Joined: 14 Nov 2006 Posts: 945
|
Posted: Sat May 26, 2007 12:39 am Post subject: |
|
|
| xor eax, eax will set it, but you'll fuck up eax.
|
|
| Back to top |
|
 |
me Grandmaster Cheater
Reputation: 2
Joined: 24 Jun 2004 Posts: 733 Location: location location
|
Posted: Sat May 26, 2007 3:41 am Post subject: |
|
|
| xlcs wrote: | | xor eax, eax will set it, but you'll fuck up eax. |
you can always push eax first, xor then pop eax, the flag will be set and eax will contain the right value again..
you can also use sub and dec to set the flag if those can be used to decrease something handy at the same time
_________________
|
|
| Back to top |
|
 |
|