The Museum of HP Calculators

HP Forum Archive 17

[ Return to Index | Top of Index ]

35s indirect addressing
Message #1 Posted by Bill Colisch on 23 Oct 2007, 9:41 p.m.

First, Thank You to all the patient folks that help others on this site.

In the manual (at 14-20 et seq)it talks about indirectly addressing variables & LABELS. I would like to GTO (J)(ie: branch execution to a line number contained in register J). Is this possible?

      
No. Best regards from V. [NT]
Message #2 Posted by Valentin Albillo on 24 Oct 2007, 3:47 a.m.,
in response to message #1 by Bill Colisch

.

      
Re: 35s indirect addressing
Message #3 Posted by Meenzer on 24 Oct 2007, 4:29 a.m.,
in response to message #1 by Bill Colisch

To elaborate a bit on this: the German manual of the 35s also says you could do indirect addressing of variables AND labels - but only in the chapter's headline and a corresponding table. The functions that actually can use (I) don't list GTO or XEQ anymore. This was however possible with the 33s - the now wrong parts of that manual must have been copied by HP. What a shame!

      
Re: 35s indirect addressing
Message #4 Posted by Gene Wright on 24 Oct 2007, 7:52 a.m.,
in response to message #1 by Bill Colisch

No, it is a typo in the manual.

            
Re: 35s indirect addressing
Message #5 Posted by Meenzer on 24 Oct 2007, 9:39 a.m.,
in response to message #4 by Gene Wright

Quote:
No, it is a typo in the manual.

Gene, do you mean that it's a typo in the 35s' manual? That is what I meant.

Or do you mean that it was a typo in the 33s' manual and doesn't even work on that machine?

                  
Re: 35s indirect addressing
Message #6 Posted by Gene Wright on 24 Oct 2007, 10:36 a.m.,
in response to message #5 by Meenzer

Typo in the 35s manual.

            
Re: 35s indirect addressing
Message #7 Posted by Stefan Vorkoetter on 24 Oct 2007, 11:14 a.m.,
in response to message #4 by Gene Wright

It's odd that they dropped this feature from the 35s. It could have been really useful, especially if they'd extended it so that the value in I (or J) could be M.NNN, where M is 1..26 (or -1..-26) and NNN is 000 to 999.

Stefan

                  
Re: 35s indirect addressing
Message #8 Posted by Namir on 24 Oct 2007, 12:37 p.m.,
in response to message #7 by Stefan Vorkoetter

So you are suggesting a syntax like this:

GTO I.J XEQ I.J

So that teh value of register I points to the label and the value of J points to teh step number.

I guess it is doable.

One can have a hybrid syntax such that:

GTO B.(I)

To jum tp line number (I) in label B. And also:

GTO I.(I)

To jump tp label I, line (I).

Namir

Edited: 24 Oct 2007, 12:39 p.m.

                        
Re: 35s indirect addressing
Message #9 Posted by Stefan Vorkoetter on 24 Oct 2007, 2:54 p.m.,
in response to message #8 by Namir

No, I'm just suggesting that GTO (I) works, like it does on the 33s.

But as an extension (since the 35s has line number addressing), the value in I can have a fractional part, and that fractional part will refer to the line number.

Stefan

Edited: 24 Oct 2007, 2:56 p.m.

                              
Re: 35s indirect addressing
Message #10 Posted by Bill Colisch on 24 Oct 2007, 8:38 p.m.,
in response to message #9 by Stefan Vorkoetter

Thank you all.

What a shame, it could have been a very powerful feature.

BTW, I'm a land surveyor. What do you guys do with these?

Bill :-)

                                    
Just toy with it. Best regards from V. [NT]
Message #11 Posted by Valentin Albillo on 25 Oct 2007, 1:07 a.m.,
in response to message #10 by Bill Colisch

,

                                    
Re: 35s indirect addressing
Message #12 Posted by srayb on 31 Oct 2007, 4:32 p.m.,
in response to message #10 by Bill Colisch

Quote:
Thank you all.

What a shame, it could have been a very powerful feature.

BTW, I'm a land surveyor. What do you guys do with these?

Bill :-)


I originally bought it to write larger programs than was possible on my 32SII (to facilitate more sub-routines), but haven't gotten around to that yet. However I've really enjoyed using the built-in equation solver, using it for some astronomy formulas.

I'm really glad it has the same RPN programming language as my 32SII. I considered getting the 50g, but it was more expensive, bigger, and I'd have to learn RPL programming. The 35s is perfect for my needs.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall