RAYMOND WILLCOX wrote: > I AM BUILDING A PROGRAMMABLE TIMER THAT WILL RANGE FROM 1 TO 8 HOURS > IN UNIT HOUR STEPS. DOE'S ANYONE HAVE A 60 MINUTE DELAY ROUTINE FOR A > PIC-16F84 RUNNING AT 4Mhz?? Raymond: LIST R=DEC R1 EQU [any file register] R2 EQU R1+1 R3 EQU R2+1 R4 EQU R3+1 WAIT_AN_HOUR: MOVLW 24 MOVWF R1 MOVLW 10 MOVWF R2 MOVLW 139 MOVWF R3 MOVLW 54 MOVWF R4 LOOP: CLRWDT DECFSZ R1 GOTO LOOP DECFSZ R2 GOTO LOOP DECFSZ R3 GOTO LOOP DECFSZ R4 GOTO LOOP RETURN -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - San Diego, California === http://www.geocities.com/SiliconValley/2499