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.
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.