Section 6: Programming Basics

69

Keystrokes

Display

 

¥

Run mode; no PRGM annunciator

 

displayed. (The display will depend

 

on any previous result.)

 

The position in program memory does not change when modes are switched. Should the calculator be shut off, it always ―wakes up‖ in Run mode.

Executing a Program. In Run mode, press ´ letter label or G digit (or letter) label. This addresses a program and starts its execution. The display will flash running.

Keystrokes Display

300.51300.51 ´A 7.8313

Key a value for h into the X-register.

The result of executing program ―A‖. (The number of seconds it takes an object dropped from 300.51 meters high to hit the ground.)

Restarting a Program. Press ¦ to continue execution of a program that was stopped with a ¦instruction.

User Mode. User mode is an optional condition to save keystrokes when executing letter-namedprograms. Pressing ´U will interchange the ´-shifted and primary functions of the Athrough E keys. You can then execute a program using just one keystroke (skipping the ´ or G).

How to Enter Data

Every program must take into account how and when data will be supplied. This can be done in Run mode before running the program or during an interruption in the program.

1.Prior entry. If a variable value will be used in the first line of the program, enter it into the X-register before starting the program. If it will be used later, you can store it (with O) into a storage register, and recall it (with a programmed l) within the program.