Skip to content

CASIO

User´s Guide

Find

Base-n Calculations (BASE)

Logical and Negation Operations

Your calculator provides you with logical operators (And, Or, Xor, Xnor) and functions (Not, Neg) for logical and negation operations on binary values. Use the menu that appears when you press(LOGIC) to input these logical operators and functions.


Note

In the case of a negative binary, octal or hexadecimal value, the calculator converts the value to binary, takes the two's complement, and then converts back to the original number base. For decimal values, the calculator merely adds a minus sign.

Examples

All of the examples below are performed in the binary mode.


Example 1: To determine the logical AND of 10102 and 11002 (10102 and 11002)

  • 1010(LOGIC)(And) 1100
  • 1000

Example 2: To determine the logical OR of 10112 and 110102 (10112 or 110102)

  • 1011(LOGIC)(Or) 11010
  • 11011

Example 3: To determine the logical XOR of 10102 and 11002 (10102 xor 11002)

  • 1010(LOGIC)(LOGIC)(Xor) 1100
  • 110

Example 4: To determine the logical XNOR of 11112 and 1012 (11112 xnor 1012)

  • 1111(LOGIC)(Xnor) 101
  • 1111110101

Example 5: To determine the bitwise complement of 10102 (Not(10102))

  • (LOGIC)(LOGIC)(Not) 1010
  • 1111110101

Example 6: To negate (take the two's complement) of 1011012 (Neg(1011012))

  • (LOGIC)(LOGIC)(Neg) 101101
  • 1111010011
print this page
Top of page