HP 48g Graphing Calculator User Manual
Page 191
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
Coimiiand/Description
Example
Input
Output
ASR Arithmetic Shift
Right. Performs 1 bit
arithmetic right shift. The
most significant bit is
regenerated.
1
# 800000h
is #
1 1 0 0 0 1
b
1 s # Ci30000r!
R1 Rotate Left. Binary
integer rotates left one
bit. (Example assumes
wordsize=4.)
1
"
# 1
1
0
b
RLE Rotate Left Byte.
Binary integer rotates left
one byte.
1; # FFFF'h
1
i! ^ F F h F
0
0
Ti
RR Rotate Right. Binary
integer rotates right one
bit. (Example assumes
wordsize=4.)
1
= #
1 1 0 1
b
1
“ #
1 1 1 0
b
RRB Rotate Right Byte.
Binary integer rotates right
one byte.
1
“ ^ H
0
iB£lC
6
h
1; # C0R0B0h
SL Shift Left. Binary-
integer shifts left one bit.
Is #
1 1 0 1
b
Is #
1 1 0 1 0
b
SLB Shift Left Byte.
Binary integer shifts left one
byte.
1: # fl0B0h
1
“ ax H£iB
0
£i£ih
SR Shift Right. Binary
integer shifts right one bit.
Is #
1 1 0 1 1
b
is #
1 1 0 1
b
SRB Shift Right Byte.
Binary integer shifts right
one byte.
1
2 in W L-i Pi Li i~' Li H1s # H0B0h
15
Binary Arithmetic and Number Bases 15-5