Hi, Is there a way to reduce the size of this routine ? Polynomial = x0 + x12 + x17 x0 is in "data" bit_0 x12 is in "mid" bit_3 x17 is in "old" bit_0 rlf mid,w ; x12 in w bit_4 movwf temp ; x12 in temp bit_4 swapf temp,w ; x12 in w bit_0 xorwf old,w ; x12 + x17 in w bit_0 xorwf data,w ; x0 + x12 + x17 in w bit_0 movwf temp rrf temp,f ; x0 in Carry rlf new,f ; x0 to bit_0 rlf mid,f ; Updates x12 rlf old,f ; Updates x17 Thanks for your help. Marcelo Puhl mark@plug-in.com.br ------------------------------------------- Get paid to surf the WEB ! Ganhe dinheiro enquanto surfa na Internet ! http://alladvantage.com/go.asp?refid=DTJ608 -------------------------------------------