D5+h5 – Casio fx-50F PLUS User Manual
Page 56

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
Al(BIN)X(LOGIC)d1(d)
5+X(LOGIC)d2(h)5E
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
1010X(LOGIC)1(and)
1100E
A Logical Sum (or)
Returns the result of a bitwise sum.
Example: 1011
2
or 11010
2
= 11011
2
1011X(LOGIC)2(or)
11010E
A Exclusive Logical Sum (xor)
Returns the result of a bitwise exclusive logical sum.
Example: 1010
2
xor 1100
2
= 110
2
1010X(LOGIC)e1(xor)
1100E
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
1111X(LOGIC)3(xnor)
101E
d5+h5
1010
b
d5+h5
1010
b
10 10and1100
1000
b
10 10and1100
1000
b
10 11o r 11010
11011
b
10 11o r 11010
11011
b
10 10xo r 1100
110
b
10 10xo r 1100
110
b
1111x no r 101
1111110101
b
1111x no r 101
1111110101
b