Post Reply 
(11C/12C/17B/65) Base Conversion
06-21-2014, 10:21 PM (This post was last modified: 06-21-2014 11:02 PM by Thomas Klemm.)
Post: #2
Base Conversion for HP-12C
Code:
01 -    44  0  STO 0
02 -    45  1  RCL 1
03 -    45  2  RCL 2
04 -       30  −
05 -       34  x<>y
06 -    45  1  RCL 1
07 -       34  x<>y
08 -    45  2  RCL 2
09 -       10  ÷
10 -    43 25  INTG
11 -    43 35  x=0
12 - 43,33 20  GTO 20
13 -       33  R↓
14 -       20  ×
15 -       33  R↓
16 -       20  ×
17 - 44 40  0  STO+ 0
18 -       33  R↓
19 - 43,33 06  GTO 06
20 -    45  0  RCL 0

Example: 201410 → 37368
10 STO 1
8 STO 2
2014 R/S



This is another solution that uses the function NPV:
Code:
01 -       36  ENTER
02 -       36  ENTER
03 -    45 15  RCL FV
04 -       10  ÷
05 -    43 25  INTG
06 -    43 13  CFo
07 -    45 15  RCL FV
08 -       10  ÷
09 -    43 25  INTG
10 -    43 35  x=0
11 - 43,33 14  GTO 14
12 -    43 14  CFj
13 - 43,33 07  GTO 07
14 -       33  R↓
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↓
22 -    42 13  NPV
23 -    45 14  RCL PMT
24 -    45 15  RCL FV
25 -       30  −
26 -       20  ×
27 -       40  +

Example: 201410 → 37368
10 STO PMT
8 STO FV
2014 R/S
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Base Conversion for HP-12C - Thomas Klemm - 06-21-2014 10:21 PM
Base Conversion for HP-65 - Thomas Klemm - 02-23-2024, 12:10 PM



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