I've seen several postings that say that read-modify-write instructions on IO ports is a bad idea. Is this only the case when the TRIS bits are a mixture of inputs and outputs ? I've been using "incf PORT[BC},F" and "addwf PORT[BC],F instructions on ports with DACs connected to control the position of the dot on a scope screen and I havn't seen any problems..... Peter. ---------------------------------- E-Mail: Peter Onion Date: 09-Jan-02 Time: 15:30:07 This message was sent by XFMail ---------------------------------- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.