Re: Peeve with HP33s and other HP's Message #3 Posted by bill platt on 29 July 2004, 7:24 p.m., in response to message #1 by Daniel
Here is a start to a system:
Idea is that LBL D takes input of D.mmss, and adds them cumulatively:
00-
01- 61 41 d LBL D
02- 21 0 STO 0
03- 61 45 Fraction Part
04- 55 Times
05- 1 100
06- 0
07- 0
08- 74 =
09- 61 45 Fraction Part
10- 55 Times
11- 1 100
12- 0
13- 0
14- 74 =
15- 21 75 3 STO + 3
16- 22 0 RCL 0
17- 61 45 Fraction Part
18- 55 Times
19- 1 100
20- 0
21- 0
22- 74 =
23- 51 45 Integer Part
24- 21 75 6 STO + 6
25- 22 0 RCL 0
26- 51 45 Integer Part
27- 21 75 9 STO + 9
28- 61 26 END
b60F is the checksum
So, what you do is start by CLRG (clear registers) and then, you can simply type in your DD.mmss (decimal parts of seconds after .mmss) and hit "XEQ D".
Note that the degrees, minutues, and seconds.fractionalsecs are segregated into separate registers.
Then, you write another routine to compile the data back to D.mmss format, or convert it or whathaveyou.
Hope this gives you some ideas.
Regards,
Bill
Edited: 30 July 2004, 10:16 a.m. after one or more responses were posted
|