Texas Instruments TI-36X Boolean Logic Operations, Function, Effect on Each Bit of the Result

Models: TI-36X

1 48
Download 48 pages 41.72 Kb
Page 41
Image 41
Boolean Logic Operations

Boolean Logic Operations

Press -to access a menu of Boolean Logic operations.

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 xor,-/

Þ

 

 

 

 

 

 

 

 

 

 

2 V

 

9 and 2

ß

 

0.

 

 

 

,-/

 

 

 

 

 

 

 

 

 

 

9

-"2V

 

9 or 2

ß

 

 

 

 

 

,-/11.

 

 

 

 

 

 

 

 

 

 

9

-""2V

 

9 xor 2

ß

 

 

 

 

 

,-/11.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

39

 

 

Ti36eng1.doc TI-36X II Manual Linda Bower Revised: 01/10/03 10:47 AM Printed: 01/10/03 10:47 AM Page 39 of 48

Page 41
Image 41
Texas Instruments TI-36X Boolean Logic Operations, Perform the operations 9 AND 2, 9 OR 2, and 9 XOR, Function, Examples