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 


Learning ASM Share #1: Boolean Logic

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Sun Jun 24, 2007 11:28 am    Post subject: Learning ASM Share #1: Boolean Logic Reply with quote

Ok, I'd got into the quick helping mood, so I want some people ont his ite to learn as I learn, regardless if itsz 1 person or 500.

Boolean Logic

For example, logic is like common sense. Its used in truth and statements. In ASM, its used for equation. I.E. - If(A=1 AND B=1) OR G=1 then C=1 (A AND B must be true for C to be true.. G (an input) is optional.

Now lets use an ASM example(I may be incorrect with this) but if the value of 999cd0 = x, and you cmp to another address that equals x, then you can make it do certain things like make it jmp because its truthful logic

Logic gates are operated by on and off functions. For example, if you want C to be on, A and B have to = 1. So heres a truth table that would demonstrate this:
A=1 and B=0 - C=0
A=0 and B=1 - C=0
A=0 and B=0 - C=0
A=1 and B=1 - C=1

Sidenote - Addition and subtraction are actually handled by boolean logic


Last edited by kingspades2 on Sun Jun 24, 2007 11:51 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sun Jun 24, 2007 11:38 am    Post subject: Reply with quote

I see text, but I don't see content.

Be more specific.

Your example of boolean logic does not explain boolean logic.

Boolean logic should be related to operators such as AND, OR, NOT, etc.

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
kingspades2
Master Cheater
Reputation: 0

Joined: 25 Jan 2007
Posts: 353
Location: ytmnd.com

PostPosted: Sun Jun 24, 2007 11:42 am    Post subject: Reply with quote

sorry, ill add more, just notice i didnt include logic gates and binary operations... Embarassed
Back to top
View user's profile Send private message Visit poster's website
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