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 


[Intel] ptr16:16, ptr16:32, m16:16, etc

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

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Dec 11, 2007 5:35 pm    Post subject: [Intel] ptr16:16, ptr16:32, m16:16, etc Reply with quote

I got a little confused with how this worked, so I popped up CE, and tried editing an address with variants of the following opcode:

Code:

jmp cs:0801


It told me that it didn't know what I meant.

Something that confused me though, I found out what the bytes were to be, and so I just did this:

Code:

db ea 08 08 08 08 08 08 08 08


Just to see what happened.

This is what resulted:

Code:

jmp 0808:08080808


So then I opened it up, and tried to edit it, to things like

Code:

jmp 0808:08080806


Simple things like that, you know?

It told me that it didn't understand it.

I tried just opening that up, and clicking "Ok" without any changes, and it told me that it didn't understand it.

~~

What I'm guessing DB's logic was, was to simply write those bytes in without checking, which is perfectly fine, then CE read that out like it was the program's memory. That's all fine and dandy, but I'm really confused about how these work.

Obviously, that means that there's something wrong with my work, the fact that CE doesn't understand what I mean.

What would be the correct way to do that then?

Here's what the PDF says about the JMP instruction:

PDF wrote:

...
...
EA cb || JMP ptr16:16
EA cp || JMP ptr16:32
...
...


So then if I did

Code:

db ea 04 04 08 08


One would think that I should get either

Code:

jmp 0404:0808


or

Code:

jmp 0808:0404


But something (maybe not neccessarily CE) changes my bytes to look like this:

Code:

ea 04 04 08 08 08 08


Which then places my instruction at

Code:

jmp 0808:08080404


Then, when I open it up to edit it, then close it without any changes, CE throws an error.

So my question is:

What would be a valid address using the ptr16:16/ptr16:32 parameters?

Edit:

35 views and 0 replies... Rolling Eyes

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
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