4 negative values and bitwise operations, Knegative values, Kbitwise operations – Casio fx-9750G PLUS User Manual
Page 106
78
5-4 Negative Values and Bitwise Operations
While binary, octal, decimal, or hexadecimal is set as the default number system,
press 2 (LOG) to display a menu of negation and bitwise operators.
• {
Neg} ... {negation}*
1
• {
Not}/{and}/{or}/{xor}/{xnor} ... {NOT}*
2
/{AND}/{OR}/{XOR}/{XNOR}*
3
k
k
k
k
k
Negative Values
Example
To determine the negative of 110010
2
!Z4
(Bin)J
A2
(LOG)1(Neg)
bbaabaw
k
k
k
k
k
Bitwise Operations
Example 1 To input and execute “120
16
and AD
16
”
!Z3
(Hex)J
A
bca2
(LOG)
3
(and)ADw
Example 2 To display the result of “36
8
or 1110
2
” as an octal value
!Z5
(Oct)JJ
A
dg2
(LOG)
4
(or)J1(d~o)3(b)
bbbaw
Example 3 To negate 2FFFED
16
!Z3
(Hex)JJ
A2
(LOG)2(Not)
cFFFEDw
*
1
two’s complement
*
2
one’s complement (bitwise complement)
*
3
bitwise AND, bitwise OR, bitwise XOR, bitwise XNOR
P.74
P.74