Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


fstp & fld

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Thu Mar 20, 2014 2:13 pm    Post subject: fstp & fld Reply with quote

Could someone explain to me what these do, and how or what could i add/modify so that i can change the values they have/send?
fld loads a float value from some magical place and sends it to eax+10?

fstp dword ptr [ecx+10]
fld dword ptr [eax+10]
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Thu Mar 20, 2014 3:11 pm    Post subject: Reply with quote

fld loads the value from eax+10

fstp pops the fpu stack and writes the popped value into [ecx+10]

the difference between fld and fstp is basically putting and popping values off the fpu stack. FLD puts new value into stack while fstp pops the value and writes into destination.

what are you trying to do ? if you are trying to the change the value of [ecx+10] do this

fstp dword ptr [ecx+10]
fld [memlocationwithdesiredvalue]
fstp dword ptr [ecx+10]

will load the value from memlocationwithdesiredvalue and write to [ecx+10] .

If you are trying to write to [eax+10], just write a simple mov instruction like
mov [eax+10], somevalue
fld dword ptr [eax+10]

not sure what you are trying to do though

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Thu Mar 20, 2014 5:27 pm    Post subject: Reply with quote

How do i get memlocation, i mean can i create my own? if so how? I guess i could just do something in newmem?
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sat Dec 20, 2014 12:05 pm    Post subject: Reply with quote

STN, Can you please say how you know all these?
i mean where did you learn these?

_________________
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Sat Dec 20, 2014 12:14 pm    Post subject: Reply with quote

Just look at a reference. E.G. http://ref.x86asm.net/coder32.html
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sat Dec 20, 2014 12:43 pm    Post subject: Reply with quote

OMG this site is awesome thanks!!! Smile Smile
_________________
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Sat Dec 20, 2014 2:01 pm    Post subject: Reply with quote

You're welcome.. Smile

Also this site has some good explanations to the most used ASM opcodes:
http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sat Dec 20, 2014 2:04 pm    Post subject: Reply with quote

thanks, and do you know such webpages for LUA?
i think lua is harder than AA Sad

_________________
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Sat Dec 20, 2014 2:15 pm    Post subject: Reply with quote

Nope, sorry. I don't use LUA :/
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sat Dec 20, 2014 2:16 pm    Post subject: Reply with quote

thank you anyway.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites