HP Forums
HP35S – A quick and easy way to manage indirect registers. - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP35S – A quick and easy way to manage indirect registers. (/thread-16612.html)



HP35S – A quick and easy way to manage indirect registers. - Roberto Volpi - 04-06-2021 06:46 AM

As many of you already know, the HP35S has 801 indirect registers accessible through registers I and J. They are a huge quantity but accessing them may be little cumbersome.

I have elaborated the following short programs in order to make a better use of them.

They may be of course used as subroutines in larger programs.

- Store a x value in the n register:

LBL S
STO J
X<>Y
STO (J)
X<>Y
RTN

Input the x value in the stack y and the n register in the stack x.
After execution, stacks x and y remain unchainged.

- Recall the x value of a n register

LBL R
STO J
RCL (J)
RTN

Input the n register, and after execution the n register appears in the stack y, and the x value in the stack x.