106
Section 10
The Index Register
and Loop Control
The Index register (R
I
) is a powerful tool in advanced programming of the
HP-15C. In addition to storage and recall of data the Index register can use
an index number to:
ï‚· Count and control loops.
ï‚· Indirectly address storage registers, including those beyond R.
9
(R
19
).
ï‚· Indirectly branch to program line numbers, as well as to labels.
ï‚· Indirectly control the display format.
ï‚· Indirectly control flag operations.
The V and % Keys
Direct Versus Indirect Data Storage With the Index Register
The Index register is a data storage register that can be used directly, with
V, or indirectly, with %.
*
The difference is important to note:
The % function uses the absolute
value of the integer portion of the
number in the Index register to
address another data storage
register. This is called indirect
addressing.
*
Note that the matrix functions and complex functions use the V and % keys also, but for different
purposes. Refer to sections 11 and 12 for their usage.