Start with the basics and work up.
Basic Boolean Algebra
Practice Boolean Algebra with Truth Tables. Write column of all inputs and break down the steps to calculate.
Binary Logical Connectives
Not
A | Not A
--+-------
0 | 1
1 | 0
And
A | B | A And B
--+---+--------
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1
Or
A | B | A Or B
--+---+-------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 1
Xor
A | B | A Xor B
--+---+--------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
An Exercise:
(A And B) Or (B And C)
A | B | C | A And B | B And C | (A And B) Or (B And C)
--+---+---+---------+---------+-----------------------
0 | 0 | 0 | 0 | 0 | 0
0 | 0 | 1 | 0 | 0 | 0
0 | 1 | 0 | 0 | 0 | 0
0 | 1 | 1 | 0 | 1 | 1
1 | 0 | 0 | 0 | 0 | 0
1 | 0 | 1 | 0 | 0 | 0
1 | 1 | 0 | 1 | 0 | 1
1 | 1 | 1 | 1 | 1 | 1
Binary Representations
Hexadecimal Representation
Hex | Binary
----+-------
0 | 0000
1 | 0001
2 | 0010
3 | 0011
4 | 0100
5 | 0101
6 | 0110
7 | 0111
8 | 1000
9 | 1001
A | 1010
B | 1011
C | 1100
D | 1101
E | 1110
F | 1111
So,
1A6 = 0001 1010 0110
Logical Statement Reduction
Properties of Boolean Algebra
De Morgan's Laws
Not (A Or B) = (Not A) And (Not B)
Not (A And B) = (Not A) Or (Not B)
Examples of and code for Bit Manipulation Uses
There is a very good article on many uses for Bit Manipulation Uses called Bit Twiddling Hacks by Sean Eron Anderson.