| View previous topic :: View next topic |
| Author |
Message |
_KRN_ Newbie cheater
Reputation: 0
Joined: 12 May 2016 Posts: 12 Location: Armchair
|
Posted: Sun Aug 21, 2016 7:24 am Post subject: |
|
|
| mgr.inz.Player wrote: |
fild dword ptr [esp]
f - FPU instruction
i - integer
ld - load
dword ptr - it will load 32bit signed integer (m32int)
[esp] - from the top of stack
|
yes i know but i dont understand that LOAD part
does it mean that it stores the value into special float stack that is different from the [esp] one?
(like push but on float stack)
|
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
|
| Back to top |
|
 |
_KRN_ Newbie cheater
Reputation: 0
Joined: 12 May 2016 Posts: 12 Location: Armchair
|
Posted: Sun Aug 21, 2016 7:49 am Post subject: |
|
|
ok thx
last question that wasnt answered yet is:
How to do null-checking?
(like cmp ecx,0)?
|
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Sun Aug 21, 2016 7:53 am Post subject: |
|
|
| Code: | test ecx,ecx
jz originalcode //jz = jump if zero |
|
|
| Back to top |
|
 |
_KRN_ Newbie cheater
Reputation: 0
Joined: 12 May 2016 Posts: 12 Location: Armchair
|
Posted: Sun Aug 21, 2016 8:08 am Post subject: |
|
|
and if i do
cmp eax,0
than je code
will jump if eax is zero, same as jz code
right?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 223
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
| Back to top |
|
 |
_KRN_ Newbie cheater
Reputation: 0
Joined: 12 May 2016 Posts: 12 Location: Armchair
|
Posted: Sun Aug 21, 2016 3:08 pm Post subject: Solved ! |
|
|
| OK thanks everyone, this part of my script is finished and working.
|
|
| Back to top |
|
 |
|