HP Forums
35s -- Indirect Branching or Manual Mistake? - 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 Branching or Manual Mistake? (/thread-119634.html)



35s -- Indirect Branching or Manual Mistake? - Katie Wasserman - 07-29-2007

There's a section in chapter 14 of the manual called "Indirectly Addressing Variables and Labels" that implies in several places that you can address program labels indirectly. For example:

Quote:
The function (I) or (J) uses the value in the variable I to [sic] J to determine which variable, label, or register to address.

Aside from the typo, this reads to me like it is possible to address program labels indirectly, but I don't see how to do that. Am I missing something here?

-Katie


Re: 35s -- Indirect Branching or Manual Mistake? - Valentin Albillo - 07-29-2007

Hi, Katie:

Katie posted:

    "Aside from the typo, this reads to me like it is possible to address program labels indirectly, but I don't see how to do that. Am I missing something
    here?"

      The term "label" in that sentence refers to the label used in SOLVE and INTEGRATE, which can be specified indirectly. But as for indirect GTO's or XEQ's , that's regrettably a big no-no, though something like 2.007 or -2.007 could have been used to indirectly specify GTO B007 or XEQ B007.

      This shortcoming, along with the lack of functions to extract the real/imaginary parts of complex numbers (REPT and IMPT in the HP-71B) or the components of a vector, is among the worst omissions in the HP35s instruction set. Further, there seems to be no function to obtain the conjugate of a complex value either (CONJ in the HP-71B).

Best regards from V.


Re: 35s -- Indirect Branching or Manual Mistake? - Antonio Maschio (Italy) - 07-30-2007

On the HP-32SII, if you have a program labelled "A", and you put 1 in the variable i, pressing XEQ (i) executes the "A" program.

Wasn't this preserved on the newer 35s? (Actually I have no 35s yet to try, so I ask to those who have one.)

-- Antonio


Re: 35s -- Indirect Branching or Manual Mistake? - Don Shepherd - 07-30-2007

No. XEQ wants a label and line number.


Re: 35s -- Indirect Branching or Manual Mistake? - Gene Wright - 07-30-2007

Manual mistake.

In my 35s review, I note that the XEQ and GTO indirect instructions are not present.


Re: 35s -- Indirect Branching or Manual Mistake? - Antonio Maschio (Italy) - 07-30-2007

So update the essay and tell us where and when! ;-)

-- Antonio