> With respect to read-modify-write, BSF is not safe. BSF/BCF > operate by reading the port, altering the relevant bit, and writing > the port. An operation that definitively sets the value of every > single bit (e.g. movwf) is the *only* completely safe way to deal > with RMW. Yes, good point, my bad. Other ways except MOVWF do depend on the user knowing what conditions (can) exist on the pins -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist