Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/isr.asm @ 361:88660a400338 64kByte Logbook
Updated 64K logbook to changeset 360.
author | JeanDo |
---|---|
date | Wed, 08 Jun 2011 01:37:14 +0200 |
parents | 562f1bc79f3c 91352bb698cf |
children | be71e563ac09 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm Tue Jun 07 13:06:14 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/isr.asm Wed Jun 08 01:37:14 2011 +0200 @@ -379,10 +379,10 @@ ; Now, do the RTC routine.... RTCisr2: incf secs,F ; adjusts seconds, minutes, hours, day, month and year. Checks for a leap year and works until 2099! - movlw d'59' - cpfsgt secs - return - clrf secs + movlw d'60' + cpfseq secs ; Secs == 60 ? + return ; NO : done. + clrf secs ; YES: increment minutes instead... bsf oneminupdate incf mins,F movlw d'59'