Boolean Logic Operations
Press
Function | Effect on Each Bit of the Result | ||||
AND | 0 AND 0 | = 0 | 0 AND 1 | = 0 | 1 AND 1 = 1 |
|
|
|
| ||
OR | 0 OR 0 = 0 | 0 OR 1 = 1 | 1 OR 1 = 1 | ||
|
|
|
|
|
|
XOR | 0 XOR 0 | = 0 | 0 XOR 1 | = 1 | 1 XOR 1 = 0 |
NOT | NOT 0 | = 1 | NOT 1 | = 0 |
|
2’s | 2’s complement |
|
|
|
Except for NOT and 2’s complement, these functions compare the corresponding bits of two values. The result is displayed in the current number base.
You can perform logical operations in the decimal, octal, and hexadecimal modes.
³ | Examples |
Perform the operations 9 AND 2, 9 OR 2, and 9 XOR 2.
9 | - |
| and or | Þ |
|
|
|
|
|
|
|
|
|
|
2 V |
| 9 and 2 | ß | |
| 0. | |||
|
|
| ||
|
|
|
|
|
|
|
|
|
|
9 |
| 9 or 2 | ß | |
|
| |||
|
|
| ||
|
|
|
|
|
|
|
|
|
|
9 |
| 9 xor 2 | ß | |
|
| |||
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
|
Ti36eng1.doc