Direct R, Operations; Indirect R, Operations - HP -11C Owner's Handbook Manual

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

Advertisement

934
Section 9: The index Register
3.
After 25 even numbers (2-50) and their squares are displayed,
the current counter value finally increments beyond 50. This
causes the calculator to skip one line after the
at line
16. As a result, the [GTO] 1 command at line 17 is bypassed
and the (RTN] command at line 18 is executed, causing the
calculator to return to line 000 and halt.
After running the program, press [f)[FiX]5, then (RCL][i). The recalled
L-register value in your display should now look like this:
52,05002
:
=ee
:
Current
Test
Increment
Counter
Value
Value
Value
(nnnnn)
(xxx)
(yy)
Press [f] [Fix] 4 to return the calculator to [FIX] 4 display mode.
ISG and DSE Limits, Note that (ISG) and (OSE} can be used to
increment and decrement any number that the calculator can
display. However, the decimal portion of the loop control value will
be affected by current counter values exceeding the five-digit nnnnn
value.
For example, the number 99,950.50055, when incremented using
ISG] would
become
100,005.5006.
The
initial
number
was
incremented
by 55. But since the new
number
100,005.50055,
cannot be fully displayed, the decimal portion of the number was
rounded. As the calculator assumes a two-digit number for the
increment value (yy), the next increment would be by 60, not 55.
And when the number becomes 999,945.5006, the next number
would be 1,000,005.501, thus rounding the decimal portion of the
number again. Since no increment value yy is present, the next
increment would default to 01 instead of remaining at 60.
Direct R; Operations
Example
To Execute
Keystrokes
Display
12,345
12,345.0000
Store in R,
Ne
MO
ee a
Section 9: The Index Register
135
To Execute
Example
Keystrokes
Display
(Clear display)
Recall from R, (the value
stored earlier using
sTo}(t)).
(REO
12,345.0000
(Clear display)
+)
0.0000
Exchange X and!
0.0000
(using the value remain-
ing in [I] from above
examples)
fLr21
12,345.0000
Indirect R; Operations
To Execute
Example
Displa:
Keystrokes
play
(Store 3in R, as an
rt
address, that is, nnnnn
=3)
3 (STO)
3.0000
Indirect storage and
recall of 7 using Rg
{indirectly addressed by
first storing 3 in R,,
above).
703)
2.6458
STO)
2.6458
+
0.0000
RCLJ[U)
2.6458
+
0.0000
Exchange, indirect, the
0,0000 in the X-register
and the 2.6458 remain-
ing in Rg. (The nnnnn
address 3 remains in Rj.)
2)
2.6458
CSh
0.0000

Advertisement

Table of Contents
loading

Table of Contents