Understanding How Processors and Transistors Perform Logical Operations