Logic Gates

AND means both must be true (x & y)

NAND means that any combination EXCEPT both can be true

OR means at least one must be true (x | y)

XOR means that only one must be true (x ^ y)

NOT means that the input must be false for the output to be true (~ x)


Arithmetic Logical Unit = ALU