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
o
i
(BIN)
z
1
(BASE-N)
1
(d)
5+
z
1
(BASE-N)
2
(h)
5
E
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
1010
z
1
(BASE-N)
c
3
(and)
1100
E
A
Logical Sum (or)
Returns the result of a bitwise sum.
Example:
1011
2
or 11010
2
= 11011
2
1011
z
1
(BASE-N)
c
4
(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
1010
z
1
(BASE-N)
c
5
(xor)
1100
E
A
Exclusive Logical Sum Negation (xnor)
Returns the result of the negation of a bitwise exclusive logical sum.
Summary of Contents for fx-5800P
Page 1: ...fx 5800P User s Guide http world casio com edu RJA516644 001V01 E ...
Page 139: ...E 138 MEMO ...
Page 140: ...E 139 MEMO ...
Page 141: ...E 140 MEMO ...
Page 142: ...E 141 MEMO ...
Page 143: ...E 142 MEMO ...
Page 144: ...E 143 MEMO ...
Page 145: ...E 144 MEMO ...