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 


Knowing how many bytes to read

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Sun Jan 09, 2011 8:58 pm    Post subject: Knowing how many bytes to read Reply with quote

Some addresses in a memory region may have the following inline assembly code:

Code:

pushad


Which pushes all the registers to the stack. The hexadecimal number that represents that instruction respectivily is:

Code:

60


Which only contains a byte of memory.

In contrast, we may have an address in the target's memory which contains the following inline assembly code:

Code:

add [eax], al


And the following hexadecimal number which represents those operation codes is:

Code:

00 00


Which contains two bytes of memory.

My question now is how do I find out how many bytes to read while reading the address to know:

1. How long bytes it contains
2. ASM inline code
3. Hexadecimal numerals

Regards,

iPromise
Back to top
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Jan 09, 2011 10:14 pm    Post subject: Reply with quote

just use one topic, easier to keep track of
Back to top
View user's profile Send private message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Mon Jan 10, 2011 11:00 am    Post subject: Reply with quote

I ased this questions 1 week ago, maybe you should try to search:)
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 programming 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