Jump to content

Binary and

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alaibot (talk | contribs) at 03:42, 14 April 2007 (Robot: tagging short uncategorised article as stub). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

hello Likewise, two bits may be combined with and:

x y x AND y
0 0 0
0 1 0
1 0 0
1 1 1

I.e. the result is 1, if both x and y are 1, and 0 otherwise. If 0 is equated with false, and 1 with true the bit and operation works like our logical and.