The Museum of HP Calculators

HP Forum Archive 15

[ Return to Index | Top of Index ]

HP 42S Programming
Message #1 Posted by Bob Demers on 16 July 2005, 7:58 a.m.

Hi all,

I just came across a quadratic formula program that that I do not know how to enter. One of the lines is STO: ST Z and another line is simply :

Can anyone help.

Thanks,

Bob Demers

      
Re: HP 42S Programming (corrected)
Message #2 Posted by Vieira, Luiz C. (Brazil) on 16 July 2005, 9:23 a.m.,
in response to message #1 by Bob Demers

Hi, Bob;

the HP42S, as the HP41, allows the contents of the X-register to be directly sotred in any of the stack registers (as you probably know).

When you press [STO][.] in the HP41, you can add any of the following: [X], [Y], [Z], [T] or [L] (no need to press [ALPHA]. In the HP42S, you should press [STO][.] (wrongly posted as [shift], orange key) and locate the equivalent register is the softkeys: [ST X] for X-register, [ST Y] for Y-register and so.

If you want to use a valid register as for an index (IND) with [STO], in the HP41 you´d use [STO][shift] (golden key)and select a numbered register, or [STO][shift][.] and any stack-related key, as mentioned above. In the HP42S, the sequence should be [STO][.] and the softkey [IND] plus any valid register. If you choose either a numbered or a named register, simply idnetify it after the [IND] softkey. For a stack register identificator, you should press [STO][.][IND] and [.] again to invoke the stack-related softkeys again. I have no calculators in hands right now, so please, forgive me if I'm adding a senseless sequence.

Quote:
One of the lines is STO: ST Z and another line is simply :
I don´t recall having the ':' as a separated operation; could it be an ALPHA sequence, like
02 ":"
I don't know where did you take the listings from, but could you add the complete listing here for us? Is it in the HP42S manual?

Hope you succeed.

Luiz (Brazil)

Edited: 16 July 2005, 1:40 p.m. after one or more responses were posted

            
Re: HP 42S Programming
Message #3 Posted by Bob Demers on 16 July 2005, 9:32 a.m.,
in response to message #2 by Vieira, Luiz C. (Brazil)

Luiz,

Wow, that was fast. The program was taken from this site and I have included the link below.

Thanks for your very fast response.

Bob Demers

http://www.hpmuseum.org/software/42squad.htm

                  
Re: HP 42S Programming (corrected)
Message #4 Posted by Vieira, Luiz C. (Brazil) on 16 July 2005, 10:50 a.m.,
in response to message #3 by Bob Demers

Hi, Bob;

it seems to me that the ':' is, in fact, a division symbol (÷). In this case, the STO÷ ST Z is keyed in with:

[STO][÷][.][ST Z]
The other occurrences of ':' in the program (step #05 and step #08) should also be keyed in accordingly, with [÷].

Hope this is correct (I'm not home yet to test the program).

Best regards.

Luiz (Brazil)

Edited: 16 July 2005, 1:41 p.m. after one or more responses were posted

                        
Re: HP 42S Programming
Message #5 Posted by Bob Demers on 16 July 2005, 11:19 a.m.,
in response to message #4 by Vieira, Luiz C. (Brazil)

That's it!!

Thanks,

Bob Demers

                              
Re: HP 42S Programming
Message #6 Posted by Chas on 16 July 2005, 12:16 p.m.,
in response to message #5 by Bob Demers

Thanks Bob and Luis, I've choked on that dang *:* for months ! !

                                    
Re: HP 42S Programming
Message #7 Posted by Bob Demers on 16 July 2005, 12:24 p.m.,
in response to message #6 by Chas

I'm glad that I'm not the only one!!

Bob

                                          
MAIN CORRECTIONS in my answers (was: HP 42S Programming)
Message #8 Posted by Vieira, Luiz C. (Brazil) on 16 July 2005, 1:44 p.m.,
in response to message #7 by Bob Demers

Hi, all;

I`m home now and I see that I wrongly used [STO][shift] for the HP42S all of the times where [STO][.] is the correct keystroke sequence. Please, read again my posts above, in this thread, if you did not get to the correct sequence:

My first answer (post)
My second answer (post)

Thank you all and, please, forgive me.

Luiz (Brazil)

Edited: 16 July 2005, 1:52 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall