Andre Abelian wrote: > Hi all. > I am having problem with speed. incf instruction is not working. > What am I going wrong? > > ROT_L > BTFSC PORTA,RA1 > GOTO D1 > INCF COUNT3 > > ROT_R > BTFSC PORTA,RA1 > GOTO D2 > INCF COUNT3 Hi It looks like you do not specify the destination file in INCF. INCF f,d where "d" is either 0 or 1, where 0 is W reg and 1 is same source file. So your line should read INCF COUNT3,ONE I hope this is it :) Quentin