Section 6: Programming Basics

77

Keystrokes

Display

1 ´m%

1.0000

19 ´m%

19.0000

lm%

19.0000

R1 and R0 allocated for data storage; R2 to R65 available for programming and advanced functions.

Original allocation: R19 (R.9) and below for data storage; R20, to R65 for programming and advanced functions.*

Displays the current highest data register.
The m and W (memory status) functions are described in detail in appendix C.

Keep in mind that an error message will result (given the above memory configuration) if

1.You try to address a register higher than R19 (R.9), which initially is the highest register allocated to data storage (Error 3).

2.You have 322 occupied program bytes and try to load more program lines (Error 4).

3.You try to run an advanced function with insufficient available memory (Error 10).

Program Boundaries

End. Not every program needs to end with a nor ¦instruction. If you are at the end of occupied program memory, there is an automatic n instruction, so you do not need to enter one. This can save you one line of memory. On the other hand, a program can ―end‖ by simply transferring execution to another routine using t(section 7).

Labels. Labels in a program (or subroutine) calculator where to begin execution. Following an instruction, the calculator will search downward in

are markers telling the´label or Glabel program memory for the

*For memory allocation and indirect addressing, registers R.0 through R.9 are referred to as R10 through R19.