You are right, and come to think of it I have coded it and debugged it at least once. Its funny how bad ideas still come back to haunt me. I have another question so I don't wasted your email space. How secure is the code potection on the 12C5XX and 16C5X series chips. I have asked this before and nobody seemed to have an answer. Andrew Warren wrote: > David Sprenkle wrote: > > > I have seen two solutions to this question. My question is there a > > reason to avoid > > > > INCFSZ counter1,F > > INCF counter2, F > > There's DEFINITELY a reason to avoid THAT method, David; it > doesn't work. > > You need a "GOTO $+2" betwen the instructions; otherwise, both > bytes will be incremented every time EXCEPT when counter1 > overflows. > > -Andy > > === Andrew Warren - fastfwd@ix.netcom.com > === Fast Forward Engineering - Vista, California > === http://www.geocities.com/SiliconValley/2499 -- David Sprenkle FerretTronics--Servo Control Chips and Software http://www.busprod.com/ferrettronics/