Year(s) Month(s) Day(s) between 2 dates
|
10-22-2015, 06:02 PM
(This post was last modified: 10-22-2015 06:03 PM by Dieter.)
Post: #18
|
|||
|
|||
RE: Year(s) Month(s) Day(s) between 2 dates
(10-22-2015 04:00 PM)Didier Lachieze Wrote: The program from Dieter is extremely well done. However it’s still possible to squeeze out a few steps Ah, great. I like the idea with the complex STO–.03 which calculates y2–y1 and m2–m1 in one single step. The program now is eight lines shorter. AFAIK this is equivalent to the memory consumption of two data registers, but on the other hand the program requires three additional (local) registers... ;-) As far as I can see R.00 seems to remain unused, so LocR 004 (with adjusted register addresses) should be fine as well. Or do I miss something here? Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 13 Guest(s)