View previous topic :: View next topic |
Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Mon Mar 14, 2016 12:39 pm Post subject: The "cmp" command. |
|
|
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.
Description: |
|
Filesize: |
11.69 KB |
Viewed: |
10185 Time(s) |

|
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Mar 14, 2016 12:47 pm Post subject: |
|
|
1 byte = byte
2 bytes = word
4 bytes = dword
8 bytes = qword
Code: | cmp word ptr [ebx+08],267 |
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Tue Mar 15, 2016 11:53 am Post subject: |
|
|
++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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 16, 2016 1:46 pm Post subject: |
|
|
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 |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Mar 18, 2016 2:00 am Post subject: |
|
|
++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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Fri Mar 18, 2016 3:25 am Post subject: |
|
|
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Mar 18, 2016 5:06 pm Post subject: |
|
|
Yea, people suck.
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Mar 18, 2016 5:16 pm Post subject: |
|
|
Zanzer wrote: | Yea, people suck. |
You can check my posts in the past, I expressed my gratitude to everyone who replied, including you.
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Mar 18, 2016 5:26 pm Post subject: |
|
|
Doesn't mean people don't suck
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Mar 19, 2016 12:52 pm Post subject: |
|
|
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.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Mar 19, 2016 6:30 pm Post subject: |
|
|
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.
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Mar 19, 2016 6:41 pm Post subject: |
|
|
We do it for the s
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Mar 19, 2016 8:42 pm Post subject: |
|
|
Ha! 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?
|
|
Back to top |
|
 |
|