(10C) (11C) Fibonacci Numbers (Tom Grydeland) (10C and 11C) - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (10C) (11C) Fibonacci Numbers (Tom Grydeland) (10C and 11C) (/thread-8352.html) |
(10C) (11C) Fibonacci Numbers (Tom Grydeland) (10C and 11C) - Eddie W. Shore - 05-15-2017 01:16 PM Today’s program is courtesy of Tom Grydeland. This is his Fibonacci number program for the HP-10C and HP-11C. Here is what Tom wrote to me: Dear sir, In response to your blog post on Fibonacci numbers for the HP-15C: For the HP-11C, the DSE instruction (and ISG also) references register I only. Therefore, to run Joe Horn's program on the 11C, replace step 002 (STO 0) with '44, 25' (STO I), and step 010 (DSE 0) with '42, 5' (DSE). For the HP-10C, there are no ISG or DSE instructions, nor labels. The program becomes (tested) Code: Step Key Code Mnemonic Credit and thanks to Tom Grydeland RE: Fibonacci Numbers (Tom Grydeland) (10C and 11C) - grsbanks - 05-15-2017 03:59 PM This also works for the HP-12C: Code: 01- 1 (1) Dump for SwissMicros DM12(L): Code: DM12 RE: Fibonacci Numbers (Tom Grydeland) (10C and 11C) - Gerson W. Barbosa - 05-15-2017 09:51 PM (05-15-2017 03:59 PM)grsbanks Wrote: This also works for the HP-12C: Saving one step: Code:
Further optimization is still possible. Gerson. RE: Fibonacci Numbers (Tom Grydeland) (10C and 11C) - bshoring - 05-15-2017 10:47 PM Here's the listing for HP-38 E/C or RPN-38 CX based on Gerson's last entry: Code:
RE: Fibonacci Numbers (Tom Grydeland) (10C and 11C) - Gerson W. Barbosa - 05-16-2017 01:05 AM (05-15-2017 10:47 PM)bshoring Wrote: Here's the listing for HP-38 E/C or RPN-38 CX based on Gerson's last entry: One listing for the RPN-38CX might be Code:
Best regards, Gerson. RE: Fibonacci Numbers (Tom Grydeland) (10C and 11C) - bshoring - 05-17-2017 02:40 AM Gerson, that's even better. Using RCL + LastX and the new DSE function ! Thanks! |