> Besides, as I recall, it's also written in the Microchip data book not > to use successive bit modify or other instructions on the ports. Page 30 > of DS30272A for example. A NOP should seperate them at the least. That only applies if the successive operations are to different bits. It is perfectly OK to set then clear an output bit on successive instructions. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics