The byte menu, Hexadecimal numbers for pixel references – HP 50g Graphing Calculator User Manual

Page 639

Advertising
background image

Page 19-7

The BYTE menu

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

Functions RLB, SLB, SRB, RRB, contained in the BIT menu, are used to
manipulate bits in a binary integer. The definition of these functions are shown
below:

RLB: Rotate Left one byte, e.g., #1100b #110000000000b
SLB: Shift Left one byte, e.g., #1101b #110100000000b
SRB: Shift Right one byte, e.g., #11011b #0b
RRB: Rotate Right one byte, e.g., #1101b

#1101000000000000000000000000000000000000000000000
00000000000b

Hexadecimal numbers for pixel references

Many plot option specifications use pixel references as input, e.g., { #332h
#A23h } #Ah 0. 360. ARC, to draw an arc of a circle. We use functions
C PX and PX C to convert quickly between user-unit coordinates and pixel
references. These functions can be found through the command catalog
(‚N).

Some examples are shown below:

Advertising