Conversion Routine
|
07-04-2016, 08:22 PM
(This post was last modified: 07-04-2016 08:35 PM by Dieter.)
Post: #4
|
|||
|
|||
RE: Conversion Routine
(07-02-2016 12:43 PM)SlideRule Wrote: ...so I chose an HP-15LE. I do believe the key sequences will work (not necessarily the key codes) on an HP67, but I leave that to the audience to discover and report in their usual and thorough manner. So let's take a closer look. ;-) In general the code is fine, but flag 0 still is not initialized. So if the flag happens to be set when the program is run for the first time it will produce wrong results when routine B is called. (07-02-2016 12:43 PM)SlideRule Wrote: The listings are from an Excel spreadsheet I use to transfer RPN programs from photocopied sources to a more legible reading. What about simple text that can be viewed without special software or downloading any attachments? Or used in emulator files. May I humbly suggest the following version that initializes flag 0 so that both routines will run reliably? This way the CF command at the end may even be omitted. Code: LBL A OK, on a real 67/97 you can record the program with flag 0 cleared so that it is initialized as the card is read. ;-) On the other hand initializing the flag is essential on the 15C as its state is preserved by continuous memory. That's why I suggest an explicit CF 0 at LBL B. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Conversion Routine - SlideRule - 07-02-2016, 02:45 AM
RE: Conversion Routine - Dieter - 07-02-2016, 06:07 AM
RE: Conversion Routine - SlideRule - 07-02-2016, 12:43 PM
RE: Conversion Routine - Dieter - 07-04-2016 08:22 PM
RE: Conversion Routine - SlideRule - 07-04-2016, 11:31 PM
RE: Conversion Routine - SlideRule - 07-07-2016, 01:13 AM
RE: Conversion Routine - Dieter - 07-07-2016, 05:20 PM
RE: Conversion Routine - Dieter - 07-07-2016, 06:33 PM
RE: Conversion Routine - SlideRule - 07-08-2016, 12:48 AM
RE: Conversion Routine - SlideRule - 07-08-2016, 01:58 PM
RE: Conversion Routine - Dieter - 07-08-2016, 06:32 PM
RE: Conversion Routine - SlideRule - 07-08-2016, 07:41 PM
RE: Conversion Routine - SlideRule - 07-11-2016, 02:52 PM
|
User(s) browsing this thread: 1 Guest(s)