beautypg.com

Results of boolean operations, The base bit menu – Texas Instruments TI-86 User Manual

Page 81

background image

Chapter 4: Constants, Conversions, Bases, and Complex Numbers

69

04CCCB.DOC TI-86, Chap 4, US English Bob Fedorisko Revised: 02/13/01 2:20 PM Printed: 02/13/01 3:01 PM Page 69 of 16

04CCCB.DOC TI-86, Chap 4, US English Bob Fedorisko Revised: 02/13/01 2:20 PM Printed: 02/13/01 3:01 PM Page 69 of 16

Results of Boolean Operations

When a Boolean expression is evaluated, the arguments are converted to hexadecimal
integers and the corresponding bits of the arguments are compared, as this table shows.

Results

If

valueA

is... ...and

valueB

is...

and

or

xor

not

(valueA)

1

1

1

1

0

0

1

0

0

1

1

0

0

1

0

1

1

1

0

0

0

0

0

1

The result is displayed according to the current mode setting. For example:

In

Bin

mode,

101 and 110

returns

100

Ü

.

In

Hex

mode,

5 and 6

returns

4

ß

.

The BASE BIT Menu

- — *

Х

-

Ъ

TYPE

CONV

BOOL

BIT

rotR

rotL

shftR

shftL

rotR

value

Rotates value right

rotL

value

Rotates value left

shftR

value

Shifts value right

shftL

value

Shifts value left

Both the argument and the
result must be within defined
number ranges (page 66).

Rotate and shift operate on
16 base digits. To minimize
an overflow error, enter the
argument in binary form.