The bit menu, The bit menu ,19-6 – HP 50g Graphing Calculator User Manual

Page 638

Advertising
background image

Page 19-6

AND (BIN)

OR (BIN)

XOR (BIN)

NOT (HEX)

The BIT menu

The BIT menu, available through the BASE (‚ã) provides the following
functions:

Functions RL, SL, ASR, SR, RR, contained in the BIT menu, are used to
manipulate bits in a binary integer. The definition of these functions are shown
below:

RL:

Rotate Left one bit, e.g., #1100b #11000b

SL: Shift Left one bit, e.g., #1101b #11010b
ASR: Arithmetic Shift Right one bit, e.g., #1100010b #110001b
SR: Shift Right one bit, e.g., #11011b #1101b
RR: Rotate Right one bit, e.g., #1101b

#10000000000000000000000000000000000000000000000000
000000000001b

Advertising