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 


Does the value move with the address together?

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

Joined: 05 Apr 2006
Posts: 181

PostPosted: Tue Jan 02, 2007 11:21 pm    Post subject: Does the value move with the address together? Reply with quote

following script:

Code:
[ENABLE]
alloc(TestScript, 1024)
alloc(TestMemory, 1024)


TestMemory:
add [eax],al //
add [eax],al //set the value of TestMemory to 0

TestScript:
mov eax, TestMemory


[DISABLE]
dealloc(TestScript)
dealloc(TestMemory)


My question now, what is [eax] (the value of eax)?
Is it the value of TestMemory (0) or something else?
Does the value move with the address?

_________________
Back to top
View user's profile Send private message
dezuzi
Expert Cheater
Reputation: 0

Joined: 09 Aug 2006
Posts: 146
Location: In your washing machine

PostPosted: Tue Jan 02, 2007 11:30 pm    Post subject: Reply with quote

you posted in the wrong section, [eax] is the memory location of the value that eax is holding
_________________
Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime.
Dynamic memory is my playground..
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2222

PostPosted: Sat Aug 04, 2007 7:14 pm    Post subject: Reply with quote

eax is the value of the adress.
Back to top
View user's profile Send private message Visit poster's website
Mychilli
Grandmaster Cheater Supreme
Reputation: 3

Joined: 19 Jun 2006
Posts: 1141

PostPosted: Sat Aug 04, 2007 7:35 pm    Post subject: Reply with quote

i see no address tho
(its not ALWAYS eax, but in MS cases 99.5% of the time it is)
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Aug 04, 2007 8:07 pm    Post subject: Reply with quote

This code eax is an address. "This tells me Negima has been reading"
Code:
add [eax],al //



This code eax will hold the value of TestMemory
Code:
mov eax, TestMemory
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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