HP Forums
35s indirect addressing - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: 35s indirect addressing (/thread-127328.html)



35s indirect addressing - Bill Colisch - 10-23-2007

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] - Valentin Albillo - 10-24-2007

.


Re: 35s indirect addressing - Meenzer - 10-24-2007

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 - Gene Wright - 10-24-2007

No, it is a typo in the manual.


Re: 35s indirect addressing - Meenzer - 10-24-2007

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 - Gene Wright - 10-24-2007

Typo in the 35s manual.


Re: 35s indirect addressing - Stefan Vorkoetter - 10-24-2007

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 - Namir - 10-24-2007

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 - Stefan Vorkoetter - 10-24-2007

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 - Bill Colisch - 10-24-2007

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] - Valentin Albillo - 10-25-2007

,


Re: 35s indirect addressing - srayb - 10-31-2007

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.