> IIRC on these chips, you can write to the port and it will not reset > the IOC internal latch values (internal latch not GPIF interupt flag > or whatever). However, BSF, BCF, ANDWF, etc are all read-modify-write > instructions that will cause a "read" and reset the IOC latches. So > you would have to use MOVWF to update your pins without messing up the > IOC. I just doublechecked the data sheet - 12F629 is the same as with the older chips - either a read or a write to the port will reset it, so if you get a change as you're writing to the port, you'll miss it. Cheerful regards, Bob -- 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