|
| OR Operator |
|
| Syntax |
|   result = numeric-expression1 OR numeric-expression2 |
|
| The logical "inclusive or" operator compares corresponding bits in |
| numeric-expression1 and numeric-expression2, then sets the corresponding |
| bit in the result according to the following table: |
|
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
| Bit in First Expression   Bit in Second Expression   Bit in Result |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |
|         1                        1                        1 |
|         1                        0                        1 |
|         0                        1                        1 |
|         0                        0                        0 |
| ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ |