|
OR
Binary
101010
001001
----------
101011 =
as long as one of the numbers is one then the out put is one
eg truth table
| X | Y |X+Y|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
XOR (Exclusive OR) only one of the input numbers can be one/(on)
Binary
101010
001001
----------
100011 =
| X | Y |X(+)Y|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
I hope this helps a bit
R@dier
|