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

Bitwise math/Operators/AND/example

From NetSec
Jump to: navigation, search
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).