Factor
|
04-21-2014, 02:48 PM
(This post was last modified: 04-21-2014 03:50 PM by Dieter.)
Post: #5
|
|||
|
|||
RE: Factor
(04-20-2014 07:48 AM)Thomas Klemm Wrote:(04-20-2014 07:02 AM)Les Bell Wrote: Is this for the 41, Thomas?Nah, the 42S. Since this is the HP41 Software Library, here is a version that runs on all 41s. Here is the code: Code: 01 LBL "FACTOR" This version includes a short routine at LBL 04 that replaces the AIP command. There are two synthetic instructions (RCL d and STO d) that save and restore the display state. If you do not know how to handle this, simply replace that subroutine with... Code: 51 LBL 04 There also is an additional AVIEW in line 36 so that you can watch the result build up. ;-) Omit it if you don't like it. Both program versions have a slight design flaw: they stop with pending subroutine calls, to that they cannot end with a RTN or END and a final PROMPT is required. I did not take a closer look at the way FACTOR works, so I left it that way. Dieter Edit: corrected an error in the listing. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Factor - Thomas Klemm - 04-18-2014, 06:10 PM
RE: Factor - Les Bell - 04-20-2014, 07:02 AM
RE: Factor - Thomas Klemm - 04-20-2014, 07:48 AM
RE: Factor - Les Bell - 04-20-2014, 08:44 AM
RE: Factor - Dieter - 04-21-2014 02:48 PM
RE: Factor - Thomas Klemm - 04-21-2014, 04:50 PM
RE: Factor - Les Bell - 04-22-2014, 06:03 AM
RE: [HP-42s] Factor - Thomas Klemm - 04-22-2014, 07:45 AM
RE: [HP-42s] Factor - Les Bell - 04-22-2014, 09:08 AM
|
User(s) browsing this thread: 1 Guest(s)