How to cmp byte?

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
Kalas
Cheater
Cheater
Posts: 135
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 3

How to cmp byte?

Post by Kalas » Mon Mar 13, 2017 2:49 pm

In Dissect Data Offset F3 is 16 in Byte

F3 - Byte 16

Assuming I want to cmp it so when It's equal It will not do anything to my guy health.

Like that?

Code: Select all

cmp [rsi+F3],16
  jne code
  mov eax,#8
other then the first line I don't need help with anything else, but is that the right way?

User avatar
TheyCallMeTim13
Cheater
Cheater
Posts: 34
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 1

Re: How to cmp byte?

Post by TheyCallMeTim13 » Mon Mar 13, 2017 3:09 pm

Code: Select all

cmp byte ptr [rsi+F3],16

User avatar
Kalas
Cheater
Cheater
Posts: 135
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 3

Re: How to cmp byte?

Post by Kalas » Mon Mar 13, 2017 3:14 pm

Gosh,, thank you :P

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest