View Single Post
  #5  
Old 01-11-2004, 11:35
R@dier
 
Posts: n/a
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
Reply With Quote