Ternary XOR.
Useful as a controllable Buffer or Negate.
The Negated form NXOR is used to toggle between add and subtract with an Adder.
XOR | B | |||
- | 0 | + | ||
A | - | - | 0 | + |
0 | 0 | 0 | 0 | |
+ | + | 0 | - |
A | B | Y |
- | - | - |
- | 0 | 0 |
- | + | + |
0 | - | 0 |
0 | 0 | 0 |
0 | + | 0 |
+ | - | + |
+ | 0 | 0 |
+ | + | - |