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 


How to Make Comparison become true all

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
blazterzt404
Newbie cheater
Reputation: 0

Joined: 11 Apr 2016
Posts: 13

PostPosted: Sat Oct 08, 2016 4:24 am    Post subject: How to Make Comparison become true all Reply with quote

i just want to asking about asm and it's about cmp,
so it was a cmp and there's jump code, how i can make the jmp code become true one?
i dont know how writen in asm but if that's in c++ it become like this.

if (a <= b){
true
}
else
{
false
}

how to make the false state become true in asm.

thanks

_________________
- Nobody Perfect.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 121

Joined: 09 Jun 2013
Posts: 3279

PostPosted: Sat Oct 08, 2016 5:43 am    Post subject: Reply with quote

Code:
  cmp eax,ebx
  jg is_false
is_true:
  //true
  jmp end_if
is_false:
  //false
end_if:
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 Gamehacking 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