Post Reply 
number base conversion for hp17b/17bii
06-21-2014, 11:54 PM (This post was last modified: 06-22-2014 12:26 AM by Thomas Klemm.)
Post: #10
RE: number base conversion for hp17b/17bii
But then I realized that the 1:1 translation of my HP-11C program was shorter. And it uses only 3 registers. However it was fun to figure it out.

Addendum:
As long as the from-base PMT doesn't change the following lines could be removed:
Code:
15 -        1  1
16 -    45 14  RCL PMT
17 -       22  1/x
18 -       24  Δ%
19 -    44 12  STO i
20 -       33  R↓
21 -       33  R↓
With this we are at the same number of lines.
Of course you still have to calculate i once and store it.

(06-21-2014 11:27 PM)Don Shepherd Wrote:  That is just amazing, Thomas. I'm sure the creators of NPV and delta-percent on the 12c never envisioned those functions being used for number base conversions.

I've seen this trick in Valentin's paper: HP-12C’s Serendipitous Solver
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: number base conversion for hp17b/17bii - Thomas Klemm - 06-21-2014 11:54 PM



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