At 21:58 6/05/99 -0400, you wrote: >Should have included this in the previous message: > >In case anyone wants to use this loop, the more general form is: > > > movlw x > movwf xf > movlw y > movwf xy > delay(A) >aloop delay(B) > decfsz xf,f > goto aloop > delay(C) > decfsz yf,f > goto aloop > >Which has the timing expression: > >total cycles = (770+256*B+C)*Y + (B+3) * X + A + 2 > >In the case given by Reggie, where A=B=C=0: > >total cycles = 770*Y + 3*X + 2 > >Sean > Perhaps I am being a bit picky here but I think that the equation for total cycles is wrong 770*7 + 3*X + 2. What happens if X or Y is 0. Dennis