RPL>

Type:

Command

 

 

Description:

User RPL program function. This function allows for the entry and execution of User RPL

 

programs while in algebraic mode. While RPL programs can be written in algebraic mode without

 

the use of this function, some RPL constructs, such as FOR…NEXT loops, will produce an error

 

message if not preceded by the RPL> function. As an algebraic function, it will be placed on the

 

command line with a pair of parentheses attached, which must be removed before its use.

 

For example, to enter the user RPL program of « 1 5 + » in algebraic mode, choose the

 

RPL> function from the catalog and press `. Remove the parentheses by pressing ™ƒƒ.

 

Then enter the program by pressing Å1#5#+`. The program object will

 

now be on the first command line. It can be evaluated by pressing N!Î`.

Access:

… µRPL>

 

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

 

 

obj

 

 

 

 

 

 

 

 

 

 

RR

Command

 

 

Type:

 

 

Description:

Rotate Right Command: Rotates a binary integer one bit to the right.

 

 

The rightmost bit of #n1 becomes the leftmost bit of #n2.

 

Access:

ÃLBIT RR

(Ã is the right-shift of the 3key).

 

BASE LBIT RR

( ´is the left-shift of the Pkey).

 

BASE LBIT RR

( Ú is the left-shift of the 6key).

Flags:

Binary Integer Wordsize (–5 through –10), Binary Integer Base (–11, –12)

Input/Output:

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

 

#n1

#n2

 

 

 

 

 

See also:

RL, RLB, RRB

 

 

 

 

 

 

 

RRB

Command

 

 

Type:

 

 

Description: Rotate Right Byte Command: Rotates a binary integer one byte to the right.

The rightmost byte of #n1 becomes the leftmost byte of #n2. RRB is equivalent to doing RR eight times.

Access: ÃLBYTE RRB

(Ã is the right-shift of the 3key).

BASE LBYTE RRB

( ´is the left-shift of the Pkey).

BASE LBYTE RRB

( Ú is the left-shift of the 6key).

Flags: Binary Integer Wordsize (–5 through –10), Binary Integer Base (–11, –12)

Input/Output:

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

#n1

#n2

 

 

 

See also:

RL, RLB, RR

 

 

 

Full Command and Function Reference 3-209