Post Reply 
HMS-> & ->HMS Prog. for 12C
01-13-2018, 01:26 AM
Post: #12
RE: HMS-> & ->HMS Prog. for 12C
(01-11-2018 07:03 PM)Dieter Wrote:  Carsen: here is an improved version that adapts the formulas in that thread. It also preserves the Y-register so that simple hh.mmss arithmetics can be done without storing intermediate results. And it's even one step shorter. ;-)

Code:
01 ENTER
02 CLX
03 x<>y
04 x<=y?
05 GTO 24
06 +
07 ENTER
08 FRAC
09 ,
10 4
11 x
12 -
13 EEX
14 4
15 %
16 FRAC
17 2
18 5
19 0
20 /
21 -
22 CHS
23 GTO 00
24 -
25 EEX
26 4
28 %
29 FRAC
20 1
30 5
31 0
32 /
33 +
34 ENTER
35 FRAC
36 1
37 ,
38 5
39 /
40 +
41 GTO 00

Dieter! This. New. Version. Is. Amazing. Thanks a lot.

And I'm sure you know why its so cool. Preserving the Y register is SO useful for what I do 5 days a week, collecting that sort of data. And rather than using my 50g, the Voyager series is just perfect with its size and power consumption.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HMS-> & ->HMS Prog. for 12C - Carsen - 01-10-2018, 05:18 AM
RE: HMS-> & ->HMS Prog. for 12C - Carsen - 01-10-2018, 05:22 AM
RE: HMS-> & ->HMS Prog. for 12C - Gamo - 01-10-2018, 06:49 AM
RE: HMS-> & ->HMS Prog. for 12C - Dieter - 01-10-2018, 10:37 AM
RE: HMS-> & ->HMS Prog. for 12C - Carsen - 01-11-2018, 04:46 AM
RE: HMS-> & ->HMS Prog. for 12C - Pekis - 01-11-2018, 06:08 AM
RE: HMS-> & ->HMS Prog. for 12C - Dieter - 01-11-2018, 07:03 PM
RE: HMS-> & ->HMS Prog. for 12C - Pekis - 01-11-2018, 09:22 PM
RE: HMS-> & ->HMS Prog. for 12C - Dieter - 01-12-2018, 09:13 AM
RE: HMS-> & ->HMS Prog. for 12C - Carsen - 01-13-2018 01:26 AM
RE: HMS-> & ->HMS Prog. for 12C - Pekis - 01-12-2018, 12:36 PM
RE: HMS-> & ->HMS Prog. for 12C - Dieter - 01-12-2018, 12:50 PM



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