Post Reply 
HP-25 Subroutines possible?
06-24-2017, 12:51 PM
Post: #12
RE: HP-25 Subroutines possible?
(06-24-2017 10:01 AM)Dieter Wrote:  I beg to differ. I think subroutines even make sense with 49 (merged) steps, just as they do on the SR56 with 99 unmerged ones. There are essentially two reasons.

Note I said limited use, not no use. Wink I can think of a few situations where a small subroutine or two might benefit such a short program, but I'd have a hard time coming up with one that could use more than three and still fit in 49 steps. I'm not sure how tight the 25 ROM is, but the added instructions would only have to push a return address, then jump to the appropriate GTO routine. RTN would just pop an address, and GTO. You'd probably need one extra register to hold the return stack and a stack pointer.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-25 Subroutines possible? - Gene - 06-20-2017, 09:19 PM
RE: HP-25 Subroutines possible? - Dieter - 06-24-2017, 10:01 AM
RE: HP-25 Subroutines possible? - Dave Britten - 06-24-2017 12:51 PM
RE: HP-25 Subroutines possible? - teenix - 06-25-2017, 02:42 AM
RE: HP-25 Subroutines possible? - Dieter - 06-25-2017, 08:47 AM
RE: HP-25 Subroutines possible? - teenix - 06-25-2017, 11:19 AM
RE: HP-25 Subroutines possible? - bshoring - 06-26-2017, 09:16 PM
RE: HP-25 Subroutines possible? - teenix - 06-27-2017, 02:59 AM
RE: HP-25 Subroutines possible? - Namir - 06-29-2017, 07:15 AM
RE: HP-25 Subroutines possible? - teenix - 06-29-2017, 01:28 PM



User(s) browsing this thread: 1 Guest(s)