Next: Keypad Vectors Menu, Previous: Keypad Functions Menu, Up: Keypad Mode [Contents][Index]

### 15.3 Binary Menu

    |----+----+----+----+----+----3
    |AND | OR |XOR |NOT |LSH |RSH |
    |----+----+----+----+----+----|
    |DEC |HEX |OCT |BIN |WSIZ|ARSH|
    |----+----+----+----+----+----|
    | A  | B  | C  | D  | E  | F  |
    |----+----+----+----+----+----|

The keys in this menu perform operations on binary integers. Note that both logical and arithmetic right-shifts are provided. `INV LSH` rotates one bit to the left.

The “difference” function (normally on `b d`) is on `INV AND`. The “clip” function (normally on `b c` ) is on `INV NOT`.

The `DEC`, `HEX`, `OCT`, and `BIN` keys select the current radix for display and entry of numbers: Decimal, hexadecimal, octal, or binary. The six letter keys `A` through `F` are used for entering hexadecimal numbers.

The `WSIZ` key displays the current word size for binary operations and allows you to enter a new word size. You can respond to the prompt using either the keyboard or the digits and `ENTER` from the keypad. The initial word size is 32 bits.