Post Reply 
HP35S – A quick and easy way to manage indirect registers.
04-06-2021, 06:46 AM (This post was last modified: 04-06-2021 06:50 AM by Roberto Volpi.)
Post: #1
HP35S – A quick and easy way to manage indirect registers.
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)