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 


The "cmp" command.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Mon Mar 14, 2016 12:39 pm    Post subject: The "cmp" command. Reply with quote

Please take a look at the following screenshot.
I only want to compare [ebx+08] with "0267", but it automatically compare [ebx+08] with "00000267" even when I only type "0267" in the asm. In the screenshot, the last eight numbers under "Bytes" is "67020000", I only want it to be "6702". How to get rid of the other four numbers?
Thanks a lot.



Capture.JPG
 Description:
 Filesize:  11.69 KB
 Viewed:  10185 Time(s)

Capture.JPG


Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Mar 14, 2016 12:47 pm    Post subject: Reply with quote

1 byte = byte
2 bytes = word
4 bytes = dword
8 bytes = qword

Code:
cmp word ptr [ebx+08],267
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Tue Mar 15, 2016 11:53 am    Post subject: Reply with quote

++METHOS wrote:
1 byte = byte
2 bytes = word
4 bytes = dword
8 bytes = qword

Code:
cmp word ptr [ebx+08],267


I figured that out, but thanks all the same.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Mar 16, 2016 1:46 pm    Post subject: Reply with quote

I posted 8 minutes after you published this thread and you respond a day later to say that you figured it out already?
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Fri Mar 18, 2016 2:00 am    Post subject: Reply with quote

++METHOS wrote:
I posted 8 minutes after you published this thread and you respond a day later to say that you figured it out already?


Here is what happened:
1. I made this post.
2. After I made the post, I kept googling and found the answer.
3. You answered my post after 8 minutes. (Thank you for that.)
4. Because I found the answer, I did not go back to the forum until I had another question a day later.
5. I saw your answer and thank you for your reply.

Anything unreasonable? Anyway, I apologize for whatever reason that makes you upset. I really appreciate your help like I always do.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Mar 18, 2016 3:25 am    Post subject: Reply with quote

Next time, please try to find the answer for yourself before making a thread and wasting other people's time.

There are a few things on this forum that irk me...and most of them involve poor etiquette; inconsiderate, lazy, stupid and/or ungrateful people...and by stupid, I don't mean people that don't know what they're doing, I mean people that are stubborn, that ask for help and then don't bother to listen. It may sound harsh, and it probably is, but if you stick around here long enough, you'll know what I'm talking about.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Mar 18, 2016 5:06 pm    Post subject: Reply with quote

Yea, people suck.
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Fri Mar 18, 2016 5:16 pm    Post subject: Reply with quote

Zanzer wrote:
Yea, people suck.


You can check my posts in the past, I expressed my gratitude to everyone who replied, including you. Very Happy
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Mar 18, 2016 5:26 pm    Post subject: Reply with quote

Doesn't mean people don't suck Smile
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Mar 18, 2016 5:40 pm    Post subject: Reply with quote

fmanager wrote:
You can check my posts in the past, I expressed my gratitude to everyone who replied, including you. Very Happy

http://forum.cheatengine.org/viewtopic.php?t=587897&start=0&postdays=0&postorder=asc&highlight=
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Sat Mar 19, 2016 12:52 pm    Post subject: Reply with quote

++METHOS wrote:
fmanager wrote:
You can check my posts in the past, I expressed my gratitude to everyone who replied, including you. Very Happy

http://forum.cheatengine.org/viewtopic.php?t=587897&start=0&postdays=0&postorder=asc&highlight=


OK, I missed that one and I see why you are against me. I asked a lot of questions back then and I did forget to reply only few of them. In the topics that I am not the last one replied, I have already expressed my gratitude in earlier replies(in the same topic) or I thought that topic was over and did not check it again. If you are really serious about this and think that I am a person who do not appreciate help, you can ignore my post. But I still appreciate the help that you offered to me before, sincerely.

@Zaner, Agree. Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 19, 2016 6:30 pm    Post subject: Reply with quote

fmanager wrote:
I see why you are against me.
-I'm not against you at all. I appreciate the effort, and I'm sure other members do as well.

Most of the members here that offer their help, do so willingly, without expecting anything in return. We take time out of our day to help people, even though some of us may have jobs and a life outside of this forum. Very Happy

I'm sure you can understand why I said what I said in my previous post; a little etiquette, a little effort, consideration and gratitude can go a long ways.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Mar 19, 2016 6:41 pm    Post subject: Reply with quote

We do it for the s
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 19, 2016 8:42 pm    Post subject: Reply with quote

Ha! Very Happy If I cared about that, I'd just troll the random spam sub-forum by saying that I like drugs and Donald Trump and that an IQ of 75 is pretty good for a high school dropout.

Ohhhhhhhhh nuuuuuuuuuuuuuuuuuuu!!! Whaaaaaaauuuuuuuuuttttt? Very Happy
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