Mercurial > public > mk2
comparison 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 |
comparison
equal
deleted
inserted
replaced
357:562f1bc79f3c | 361:88660a400338 |
---|---|
377 | 377 |
378 incf apnoe_mins,F ; increase descent mins | 378 incf apnoe_mins,F ; increase descent mins |
379 ; Now, do the RTC routine.... | 379 ; Now, do the RTC routine.... |
380 RTCisr2: | 380 RTCisr2: |
381 incf secs,F ; adjusts seconds, minutes, hours, day, month and year. Checks for a leap year and works until 2099! | 381 incf secs,F ; adjusts seconds, minutes, hours, day, month and year. Checks for a leap year and works until 2099! |
382 movlw d'59' | 382 movlw d'60' |
383 cpfsgt secs | 383 cpfseq secs ; Secs == 60 ? |
384 return | 384 return ; NO : done. |
385 clrf secs | 385 clrf secs ; YES: increment minutes instead... |
386 bsf oneminupdate | 386 bsf oneminupdate |
387 incf mins,F | 387 incf mins,F |
388 movlw d'59' | 388 movlw d'59' |
389 cpfsgt mins | 389 cpfsgt mins |
390 return | 390 return |