Indirect Flag Control With; Indirect Display Format Control With V; Loop Control With Counters: I And E - HP -15C Owner's Handbook Manual

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

Section 10: The Index Register and Loop Control
To Labels. If the R
transfer execution to the label which corresponds to the number in the Index
register (see the above table).
For instance, if the Index register contains 20.00500, then a tV
instruction will transfer program execution to ´b A. See the chart
on page 107.
To Line numbers. If the R
to that line number (using the absolute value of the integer portion of the
value in R
).
I
For instance, if R
transfer program execution to program line 020.

Indirect Flag Control With

F V, " V, or ? V will set, clear, or test the flag (0 to 9)
specified in R
(by the magnitude of the integer portion).
I
Indirect Display Format Control With
´ • V, ´ i V, and ´ ^ V will format the
display in their customary manner (refer to pages 58–59), using the number
in R
(integer part only) for n, which must be from 0 to 9.
I
Loop Control With Counters:
The I (increment and skip if greater than) and e (decrement and
skip if less than or equal to) functions control loop execution by referencing
and altering a loop control number in a given register. Program execution
(skipping a line or not) then depends on that number.
The key sequence is ´ { I, e } register number. This number is
0 to 9, .0 to .9, V ,or %.
The Loop Control Number. The format of the loop control number is:
nnnnn.xxxyy, where
Except when using f (section 14)
*
value is positive, t V and G V will
I
value is negative, tV causes branching
I
contains –20.00500, then a tV instruction will
I
±nnnnn
xxx
yy
V
V
and
I
is the current counter value,
is the test (goal) value, and
Is the increment of decrement value
*
e
109

Advertisement

Table of Contents
loading

Table of Contents