This is my countdown timer code. My keypad code is from nigel. If any key is press, will it go to the Hours?
countdown
;Secs
S1
call Delay250
call Delay250
call Delay250
call Delay250
call Chk_Keys
movf key, w
movwf Hours
movf Hours, w
movwf NumL
call DisplayH
movlw ':'
call LCD_Char
movf Mins, w
movwf NumL
call DisplayM
movlw ':'
call LCD_Char
movf Secs, w
movwf NumL
call DisplayS
movf Secs,w
btfss STATUS,Z
goto cd_Secs
call Display_Secs
;Mins
movf Mins,w
btfss STATUS,Z
goto cd_Mins
call Display_Mins
;Hours
movf Hours,w
btfss STATUS,Z
goto cd_Hours
call Display_Hours
cd_Secs
decf Secs, f
goto S1
cd_Mins
decf Mins, f
goto S1
cd_Hours
decf Hours, f
goto S1
Display_Secs
movlw d'59'
movwf Secs
return
Display_Mins
movlw d'59'
movwf Mins
return
Display_Hours
movlw d'00'
movwf Hours
return