> I'm trying to rotate 1 bit through 2 bytes. ; ; Rotate the 16 bit value in B1,B0 one bit left. ; rlf b1, w ;set C to MSB shifted off the end rlf b0 ;rotate low byte, set C to bit shifted off rlf b1 ;rotate the high byte Rotating the other direction should be an obvious modification. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.