comparison code_part1/OSTC_code_asm_part1/isr.asm @ 111:ed7826c740a0

1.74beta rc1
author heinrichsweikamp
date Wed, 22 Dec 2010 09:37:24 +0100
parents cd5b650920f6
children 9581e48a914f
comparison
equal deleted inserted replaced
110:8aa8acada0fd 111:ed7826c740a0
303 303
304 clrf samplesecs ; clear counter... 304 clrf samplesecs ; clear counter...
305 bsf store_sample ; ...and set bit for profile storage 305 bsf store_sample ; ...and set bit for profile storage
306 RTCisr1: 306 RTCisr1:
307 ; Increase re-setable average depth divetime counter 307 ; Increase re-setable average depth divetime counter
308 incf average_divesecs+0,F ; increase divetime registers 308 incf average_divesecs+0,F ; increase stopwatch registers
309 btfsc STATUS,Z 309 btfsc STATUS,Z
310 incf average_divesecs+1,F ; increase divetime registers 310 incf average_divesecs+1,F ; increase stopwatch registers
311 311
312 btfss divemode2 ; displayed divetime is running? 312 btfss divemode2 ; displayed divetime is running?
313 bra RTCisr2 ; No (e.g. too shallow) 313 bra RTCisr2 ; No (e.g. too shallow)
314 314
315 incf divesecs,F ; increase divetime registers 315 incf divesecs,F ; increase divetime registers