Does anyone know any good delay routines for the 16c84 and 16c74? I want to be able to enter a value for the clock speed (usually 4MHz, 10MHz and 20MHz) and the routine will adapt to the speed. It must function as a subroutine taking the value in the w register as a delay in mS and then delay that amount of time. Any help on this subject would be most appreciated. Have a happy Christmas Tim Sorry if you have already got this - the piclist claims I sent it twice and tells me it has been rejected