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

Bitwise math/Operators/OR/example

From NetSec
Jump to: navigation, search
back to Bitwise math


Example: 5 OR C = D
Operation Hexadecimal Binary comment


or

5

C

0101

1100

The second and fourth bits are true.

The first and second bits are true.

=
D 1101 The first, second and fourth bits are true in at least one instance.