At 12:27 AM 12/14/97 +0100, you wrote: >Someone have a simple ASM file like described in the Subject? I actually did a countdown clock, days, hours, minutes, seconds using a 16c84 driving an LCD display. I wrote constant execution time code (both paths of a branch take the same number of clock cycles) and played around with the seconds and minutes padding until I had less than a millisecond a day drift from WWV. (Off by less than a second a year) I have always wanted to do a regular clock that would keep that kind of accuracy, (Battery backup so it didn't lose the setting even if power was down for a week. The countdown timer was battery backed up so power hits wouldn't affect it. Thats why we used the LCD display, low current draw on the backup battery.) I actually started on the code for the regular clock, but never finished it. I think it still needs one or two routines written. If you're really interested I can dig around for the code, but it may take 2 or 3 days to come up with it. Wynn Rostek (P.S. It was built into a model of the X-33, a new prototype spacecraft being developed. It was given to the head of the X-33 effort to put on his desk to act as a constant reminder of his approaching deadline.)