Logical Ops

Force toggle (flip) NOT

Clear bits (leaving some unchanged) 1010 AND 0011

Set bits 1010 OR 1100

Selective Toggle 1010 XOR 1100

All have properties to transform, leading to bit masking.

  • How does a transistor work? video