Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Bitwise math/Operators/AND/example"

From NetSec
Jump to: navigation, search
(Created page with "<noinclude>{{subpage|Bitwise math}}</noinclude> :''Example: 0x6 AND 0x5 = 0x4'' ::{| class="wikitable" width="40%" style="text-align:center" |- !Operation !Hexadecimal !Binary !...")
 
 
(No difference)

Latest revision as of 06:16, 19 July 2012

back to Bitwise math


Example: 0x6 AND 0x5 = 0x4
Operation Hexadecimal Binary comment


and

6

5

0110

0101

The second and third bits are true.

The second and fourth bits are true.

=
4 0100 The second bit is the only one true in both instances (5 and 6).