RPN mode
This very simple program assumes that the value for the radius is in the X– register
(the display) when the program starts to run. It computes the area and leaves it in
the X–register.
In RPN mode, to enter this program into program memory, do the following:
Keys:
(In RPN mode)
Ö
()
()
Try running this program to find the area of a circle with a radius of 5:
Keys:
(In RPN mode)
5
In ALG mode, to enter this program into program memory, do the following:
Keys:
(In ALG mode)
Ö
()
()
13-2
Simple Programming
ALG mode
Display:
Display:
Display:
Description:
Clears memory.
Activates Program–entry mode
(PRGM annunciator on).
Resets program pointer to PRGM
TOP.
2
(Radius)
2
Area = x
Exits Program–entry mode.
Description:
This sets the program to its
beginning.
The answer!
Description:
Clears memory.
Activates Program–entry mode
(PRGM annunciator on).