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 


Variables from reguster

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
SomeoneElse123
Newbie cheater
Reputation: 0

Joined: 30 Dec 2018
Posts: 11

PostPosted: Sun Dec 30, 2018 11:27 am    Post subject: Variables from reguster Reply with quote

Can someone tell me how to see what the variables (eax, edit, ebx,...) stand for? And a value on this address doesn't change, so I can't use what accesses/writes to this address. Somewhere I heard that it has to do something with breakpoints. Can anyone explain me this?
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Dec 30, 2018 1:02 pm    Post subject: Reply with quote

SomeoneElse123 wrote:
Can someone tell me how to see what the variables (eax, edit, ebx,...) stand for?

a quick google can help you a lot, but since you are lazy i will tell you.

in past these registers were used as:
Code:
ax - accumulator used to store numbers / general purpose register
cx - count used for loop operations / general purpose register
dx - data used for data movements / general purpose register
bx - base used to store bases address / general purpose register
sp - stack pointer used to access current stack within current segment / stack register
bp - base pointer used to save current stack frame / stack register but can be used as a general purpose register
si - source index used for string operations / string and general purpose register
di - destination index used for string operations / string and general purpose register


however nowadays all these registers are general purpose registers, except the stack pointer.

the E letter stands for extended, EAX, ECX, EDX, EBX, EBP, ESP, ESI and EDI.

eax, 32bit
ax, 16bit half of eax
ah, high 8bit of ax
al, low 8bit of ax

SomeoneElse123 wrote:
And a value on this address doesn't change, so I can't use what accesses/writes to this address.

you can see, but in order to see the cpu must execute the instruction.

SomeoneElse123 wrote:
Somewhere I heard that it has to do something with breakpoints. Can anyone explain me this?

not sure what you meant here, but a hardware or software breakpoint must be placed in order to debug and get register contents.

sure there is breakpoint on read access and write access, more about them can be found on intel's sdm.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
SomeoneElse123
Newbie cheater
Reputation: 0

Joined: 30 Dec 2018
Posts: 11

PostPosted: Sun Dec 30, 2018 1:24 pm    Post subject: Reply with quote

But how can I use the "what accesses/writes function when the code is executed by CPU immediately when I open the program? I can't even attach the process and pause it before the game reads it. And since the game once read the code, it doesn't do it again (unless I restart the game)
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Dec 30, 2018 1:37 pm    Post subject: Reply with quote

SomeoneElse123 wrote:
But how can I use the "what accesses/writes function when the code is executed by CPU immediately when I open the program?

make sure you are using windows debugger, file -> open process -> create process.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
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