Casio fx-50F Calculator User Manual


 
E-55
A
Example Calculation Using Base-
n
Specifi cation
Example: To perform the calculation 5
10
+ 5
16
, and display the result in binary
A
l
(BIN)
X
(LOGIC)
d
1
(d)
5+
X
(LOGIC)
d
2
(h)
5
E
k
Performing Calculations Using Logical Operations and
Negative Binary Values
Your calculator can perform 10-digit (10-bit) binary logical operations and negative value
calculations. All of the examples shown below are performed with BIN (binary) set as the
default number base.
A
Logical Product (and)
Returns the result of a bitwise product.
Example: 1010
2
and 1100
2
= 1000
2
1010
X
(LOGIC)
1
(and)
1100
E
A
Logical Sum (or)
Returns the result of a bitwise sum.
Example: 1011
2
or 11010
2
= 11011
2
1011
X
(LOGIC)
2
(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
X
(LOGIC)
e
1
(xor)
1100
E
A
Exclusive Logical Sum Negation (xnor)
Returns the result of the negation of a bitwise exclusive logical sum.
Example: 1111
2
xnor 101
2
= 1111110101
2
1111
X
(LOGIC)
3
(xnor)
101
E
d5
+
h5
1010
b
d5
+
h5
1010
b
1010and1100
1000
b
1010and1100
1000
b
1011or 11010
11011
b
1011or 11010
11011
b
1010xor 1100
110
b
1010xor 1100
110
b
1111xnor 101
1111110101
b
1111xnor 101
1111110101
b