beautypg.com

A example calculation using base- n specifi cation, A logical product (and), A logical sum (or) – Casio fx-5800P User Manual

Page 90: A exclusive logical sum (xor), A exclusive logical sum negation (xnor), E-89

background image

E-89

A Example Calculation Using Base- n Specifi cation

Example: To perform the calculation 5

10

+ 5

16

, and display the result in binary

oi(BIN)

z1(BASE-N)1(d)5+

z1(BASE-N)2(h)5E

k

Performing Calculations Using Logical Operations and

Negative Binary Values

Your calculator can perform 32-digit (32-bit) binary logical operations and negative value
calculations. All of the examples shown below are performed with binary (

i(BIN)) set as

the default number base.

Note

Negative binary, octal, and hexadecimal values are produced by taking the binary two’s
complement and then returning the result to the original number base. With the decimal
number base, negative values are displayed with a minus sign.

A Logical Product (and)

Returns the result of a bitwise product.

Example: 1010

2

and 1100

2

= 1000

2

1010z1(BASE-N)

c3(and)1100

E

A Logical Sum (or)

Returns the result of a bitwise sum.

Example: 1011

2

or 11010

2

= 11011

2

1011z1(BASE-N)

c4(or)11010

E

A Exclusive Logical Sum (xor)

Returns the result of a bitwise exclusive logical sum.

Example: 1010

2

xor 1100

2

= 110

2

1010z1(BASE-N)

c5(xor)1100

E

A Exclusive Logical Sum Negation (xnor)

Returns the result of the negation of a bitwise exclusive logical sum.