Subroutine tactics for the HP-25 « Next Oldest | Next Newest »

 ▼ Matt Agajanian Posting Freak Posts: 980 Threads: 239 Joined: Aug 2006 04-16-2012, 09:24 PM Hello all, Although my 25C may have amnesia, I'd rather salvage my 25C for its functionality. Since I also have a 55, I've been pondering the idea of implementing subroutines although there is only GTO on both. Although one idea like the 'Newton's Method' program in the HP-25 Applications Book which build the Newton algorithm surrounding the user function, one idea I was toying with is something like this: 01 1 02 [RCL] 103 [GTO] 3304 0 04 RCL 2 05 [ABS]06 [GTO] 3307 [FRAC] Subroutine-- 33 [log]34[rV]35 [x=0]36 [GTO] 0437 [GTO] 07 In other words, although a simple example, what's in the Y register controls where the [GTO] instruction transfers to at step 35 for both the first and second time the subroutine is called. Any ideas of other approaches to subroutine techniques on an HP-25 and 55 are welcome as I am looking for new techniques to increase the functionality of my 55 and 25. Edited: 16 Apr 2012, 9:57 p.m. ▼ Valentin Albillo Posting Freak Posts: 1,755 Threads: 112 Joined: Jan 2005 04-17-2012, 04:09 AM Quote: Since I also have a 55, I've been pondering the idea of implementing subroutines although there is only GTO on both. Have a look at this 7-page PDF article: featuring an HP-25 program which manages to call a two-variable user-defined function no less than 4 times with different arguments each time while always returning to the proper place in the computation procedure, and not only does it fit in 49 steps but actually leaves as many as 13 steps free to define the f(x,y) function. You may get some good ideas for subroutine-like implementation by carefully studying it. Regards from V. ``` ``` ▼ Matt Agajanian Posting Freak Posts: 980 Threads: 239 Joined: Aug 2006 04-17-2012, 02:49 PM Thanks very much! To be honest, my train of thought has been greatly refined here at MoHPC Forums. This group has helped me think beyond my usual instincts. I am very grateful for your help and all those here. Trent Moseley Senior Member Posts: 406 Threads: 47 Joined: Jul 2005 04-19-2012, 05:45 PM You need to obtain a copy of "Computational Analysis with the HP-25 Pocket Calculator" by the late Peter Henrici published by John Wiley & Sons. Trent Moseley

 Possibly Related Threads... Thread Author Replies Views Last Post Strange HP 25 Problem (Repair) Onur Ilkorur 5 2,019 12-06-2013, 05:13 PM Last Post: Onur Ilkorur HP-25 Wayne Selway 1 885 11-22-2013, 12:58 PM Last Post: Michael de Estrada Interesting Base Conversions - Porting a 1975 HP 25 Program to the HP 35S Eddie W. Shore 1 960 10-13-2013, 07:49 PM Last Post: BruceH HP-25/25C Potential Matt Agajanian 14 3,246 07-17-2013, 02:57 AM Last Post: Matt Agajanian Recharging original batteries in HP 45, 65 and 25 Michae Altmann 1 854 03-05-2013, 12:21 AM Last Post: DavidShenk HP-25 keyboard Brad Barton 5 1,359 02-16-2013, 09:59 PM Last Post: Brad Barton HP 65/25 shout-out in interview with Paul Lutus Egan Ford 3 1,124 12-21-2012, 11:09 PM Last Post: Mike Morrow New HP-25 Emulator for iPad, iPhone, and iPod Namir 5 1,557 05-22-2012, 06:22 AM Last Post: Mike (Stgt) HP-25 aj04062 13 2,523 03-30-2012, 03:23 AM Last Post: Russell Dobson Re: Spares for vintage calculators HP-25, HP-27? McAllan 1 805 03-02-2012, 08:31 AM Last Post: samo

Forum Jump: