218 Appendix C: Memory Allocation

Your very first program instruction will commit R65 (all seven bytes) from an uncommitted register to a program register. Your eighth program instruction commits R64, and so on, until the boundary of the common pool is encountered. Registers from the data storage pool (at power-up, this is R19 and below) are not available for program memory without reallocating registers using m %.

Two-Byte Program Instructions

The following instructions are the only ones which require two bytes of calculator memory. (All others require only one byte.)

´b . label t . label

" (n or V) F (n or V) ? (n or V)

´(n or V)

´i (n or V)

´^ (n or V)

´ _

´ f

´ > {0 to 9}

´X {2 to 9, .0 to .9}

´e {2 to 9, .0 to .9}

´I {2 to 9, .0 to .9}

O {+, -, *, ÷} l{+, -, *, ÷} O > {A to E}

O{A to E, %} in User mode

l {A to E, %} in User mode

O % l %

Memory Requirements for the Advanced Functions

The four advanced functions require temporary register space from the common register pool.

Function

 

Registers Needed

 

 

 

_

5

23 if executed

f

23

together

Complex Stack

5

 

Matrices

1 per matrix element

 

 

 

Page 218
Image 218
HP 15c Scientific Memory Requirements for the Advanced Functions, Two-Byte Program Instructions, If executed, Together