> BTFSS control, pin > > if pin = 1 then skip next instruction --correct Yes. Beware of read/modify/write on ports. See archives for many discussions on this. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, 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