CSAPP 门电路 A B 与 AB 或 A + B 与非 ^(AB) 或非 ^(A+B) 异或 ^AB + A^B 同或 ^A^B + AB 0 0 0 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1 0 1 0 1