The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

List entry in the 33s (long)
Message #1 Posted by Bill P on 5 May 2004, 3:42 p.m.

One of the things that I wish the 33s had is a list data type similar to the ones in HP and TI graphing calculators.

While the lack of registers past 33 prevents implementing this in full, I have found an alternative for entering data to be used, but not modified, by a program.

I'm sure someone else has discovered this before, but here's my trick:

Enter the following program:

S0001 LBL S ;I use label S for speed of entry of ISG's S0002 1000 S0003 / ;DIVIDE S0004 STO S SOOO4 ISG S S0005 (any number here) SOOO6 ISG S S0005 (any number here) . . . RTN

The trick is that you put the index on the stack, XEQ S, and the program at S puts every value in the list up to your index on the stack. I also use some variables to store stack values before executing the list program, and it could be more elegant. However, I have found this particular format to be the fastest on data entry, since ISG and S are on the same key. I just write:

S0001 LBL S S0002 1000 S0003 / S0004 STO S S0005 RTN

and then I fill in all of the ISG S's, then I GTO S and from S006, I enter a number, hit down, enter a number, hit down, etc.

It may not be terribly fast on entry, but it does let me take more advantage of the 33s's memory in my programs.

I hope this trick is useful to those of you with the 33s.

      
Bill, please read! (was: List entry in the 33s (long))
Message #2 Posted by Vieira, Luiz C. (Brazil) on 6 May 2004, 1:15 a.m.,
in response to message #1 by Bill P

Hi, bill;

I took the liberty of adding the preformat comand to improve your post contents (program listings). Please, if you want this post of mine removed (and forgive me being nosy), the password is: 123456.

Now, the part of it with program listings looks like this:
_______________________________________________

I'm sure someone else has discovered this before, but here's my trick:

Enter the following program:

S0001 LBL S ;I use label S for speed of entry of ISG's S0002 1000 S0003 / ;DIVIDE S0004 STO S SOOO4 ISG S S0005 (any number here) SOOO6 ISG S S0005 (any number here) . . . RTN

The trick is that you put the index on the stack, XEQ S, and the program at S puts every value in the list up to your index on the stack. I also use some variables to store stack values before executing the list program, and it could be more elegant. However, I have found this particular format to be the fastest on data entry, since ISG and S are on the same key. I just write:

S0001 LBL S S0002 1000 S0003 / S0004 STO S S0005 RTN

and then I fill in all of the ISG S's, then I GTO S and from S006, I enter a number, hit down, enter a number, hit down, etc.
_____________________________________________

Cheers.

Luiz (Brazil)

Edited: 6 May 2004, 1:16 a.m.

            
Re: Bill, please read! (was: List entry in the 33s (long))
Message #3 Posted by Bill P on 6 May 2004, 1:22 a.m.,
in response to message #2 by Vieira, Luiz C. (Brazil)

Thanks for fixing it. When I typed it in to post it, every line was on a seperate line. I don't know why it did that.

How do I make it turn out right next time? I hit return after every line, but what more is there to do?

                  
Re: Bill, please read! (was: List entry in the 33s (long))
Message #4 Posted by Arnaud Amiel on 6 May 2004, 6:04 a.m.,
in response to message #3 by Bill P

Either put 2 newlines instead of 1 or read http://www.hpmuseum.org/artfmt.htm

Arnaud

                        
Re: Bill, please read! (was: List entry in the 33s (long))
Message #5 Posted by Bill P on 6 May 2004, 11:12 a.m.,
in response to message #4 by Arnaud Amiel

Ahhh, I see now. Thank you.

                              
Re: Bill, please read! (was: List entry in the 33s (long))
Message #6 Posted by Vieira, Luiz C. (Brazil) on 6 May 2004, 3:51 p.m.,
in response to message #5 by Bill P

Hi, Bill;

there is another way: have a look at the "message coding" (the ones I added and any others) by simply clicking [Edit Message] while seeing the message you want to edit. If you don't know the password you won't be able to save the edited message, but you can see what codes are there and even copy it the way it is. I think there will be no "Copyright Violation" if you use someone else's "tricks" around here... q8^D

Just to let you know.

Cheers.

Luiz (Brazil)

            
Unit conversion the ISG method
Message #7 Posted by Bill P on 6 May 2004, 11:23 a.m.,
in response to message #2 by Vieira, Luiz C. (Brazil)

I have a few applications for the ISG list method. While it may be rather slow, it does have a niche. I have found that it is useful for adding numerical commands to the 33s.

My favourite is using it to make an RPN unit conversion command.

The one thing I miss about my Sharp 506 is the extensive unit conversions it came with. But I need pine no more! I can just make an index card listing the numbers of the conversions I want, and make an ISG list program that stores the stack, hunts for the conversion I want, and multiplies it by what was in the Y register. The program then returns the former contents of the T and Z registers, then the converted former Y register. Simple as that.

The great thing is that I can have all the conversions I want in whatever order I want.

Ahh, the beauty of programmable RPN :)

                  
Re: Unit conversion the ISG method
Message #8 Posted by Veli-Pekka Nousiainen on 6 May 2004, 12:45 p.m.,
in response to message #7 by Bill P

Could you kindly release your program here, please?!
{VPN} AXL

      
Re: List entry in the 33s (long)
Message #9 Posted by Eddie Shore on 6 May 2004, 3:34 p.m.,
in response to message #1 by Bill P

Awesome. The use of lists is probably the most efficent data imput with the graphing calculators. I must give this a try, thanks!


[ Return to Index | Top of Index ]

Go back to the main exhibit hall