The Museum of HP Calculators

HP Forum Archive 17

[ Return to Index | Top of Index ]

35s -- Indirect Branching or Manual Mistake?
Message #1 Posted by Katie Wasserman on 29 July 2007, 5:48 p.m.

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?
Message #2 Posted by Valentin Albillo on 29 July 2007, 6:33 p.m.,
in response to message #1 by Katie Wasserman

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?
Message #3 Posted by Antonio Maschio (Italy) on 30 July 2007, 4:45 a.m.,
in response to message #2 by Valentin Albillo

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?
Message #4 Posted by Don Shepherd on 30 July 2007, 7:47 a.m.,
in response to message #3 by Antonio Maschio (Italy)

No. XEQ wants a label and line number.

                        
Re: 35s -- Indirect Branching or Manual Mistake?
Message #5 Posted by Gene Wright on 30 July 2007, 8:54 a.m.,
in response to message #4 by Don Shepherd

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?
Message #6 Posted by Antonio Maschio (Italy) on 30 July 2007, 9:00 a.m.,
in response to message #5 by Gene Wright

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

-- Antonio


[ Return to Index | Top of Index ]

Go back to the main exhibit hall