Casio fx-9860G Series User Manual: Negative Values And Bitwise Operations

Software version 1.11.

Binary, Octal, Decimal, and Hexadecimal Calculations with Integers
Example 2
To input and execute 123
!m(SET UP)
A1(d~o)4(o)bcd*
2(h)ABC*
J3(DISP)2( Hex)w
k Negative Values and Bitwise Operations
Press 2(LOG) to display a menu of negation and bitwise operators.
• {Neg} ... {negation}*
• {Not}/{and}/{or}/{xor}/{xnor} ... {NOT}*
Negative Values
Example
To determine the negative of 110010
!m(SET UP)
A2(LOG)1(Neg)
bbaabaw
Bitwise Operations
Example 1
To input and execute "120
!m(SET UP)
Abca2(LOG)
*
1
See page 2-7-1.
*
2
two's complement
*
3
one's complement (bitwise complement)
4
*
bitwise AND, bitwise OR, bitwise XOR,
bitwise XNOR
2-7-4
× ABC
8
2(Dec)J
w
1
2
3
/{AND}/{OR}/{XOR}/{XNOR}*
4(Bin)J
16
3(Hex)J
1
w
# Negative binary, octal, and hexadecimal
20070201
, when the default number system is
16
2
"
16
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.
4