The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

TI-83 Plus IS> and DS< program commands
Message #1 Posted by Don Shepherd on 25 Apr 2010, 10:49 p.m.

I've never used these two commands since the FOR command sort of makes them unnecessary. They seem to operate exactly like HP RPN ISG and DSE, but the manual states that "they are not looping instructions." Why would it say that? Why else would you use these? Why are they even included in a non-RPN calculator?

      
Re: TI-83 Plus IS> and DS< program commands
Message #2 Posted by Ivan Nejgebauer on 26 Apr 2010, 4:02 a.m.,
in response to message #1 by Don Shepherd

Quote:
They seem to operate exactly like HP RPN ISG and DSE, but the manual states that "they are not looping instructions." Why would it say that?

Because they aren't? (And I'm not trying to be snarky.) In the strictest technical sense, ISG and DSE are conditional skip instructions, which are great for implementing loops, and indeed that is their primary purpose -- but the skipped instruction doesn't have to be a GTO.

Quote:
Why else would you use these? Why are they even included in a non-RPN calculator?

I vaguely remember using ISG/DSE for purposes other than looping in some programs I wrote a very long time ago. I'll try to dig up an example, but don't hold your breath. (It's all written down on paper... somewhere.)

            
Re: TI-83 Plus IS> and DS< program commands
Message #3 Posted by Don Shepherd on 26 Apr 2010, 6:56 a.m.,
in response to message #2 by Ivan Nejgebauer

Quote:
using ISG/DSE for purposes other than looping

Yes, they are sometimes used in RPN just to increment or decrement a variable without looping, to save a byte or two, or avoid using the X register, but this seems rather dumb in a non-RPN calculator.

            
Non-typical usage of ISG
Message #4 Posted by Andrés C. Rodríguez (Argentina) on 26 Apr 2010, 8:17 a.m.,
in response to message #2 by Ivan Nejgebauer

In the discussion about this program, http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv018.cgi?read=128554 , the usage of ISG as a mere "increment register" instruction is mentioned. While I used this technique, further analysis by Jeff O. showed it was not the best choice.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall