On 23/09/2010 8:14 AM, ivp wrote: >> "PORT does a read" ? So does doing BCF/BSF on LATx also. >> There is no difference in that way. BCF/BSF *always* reads. > My apology, I should have been specific and said "reads pins", > as I was thinking about r-m-w > > > From DS70190C, Section 30.2 - > > The differences between the PORTx and LATx registers can be > summarized as follows: > > . A write to the PORTx register writes the data value to the port latch. > . A write to the LATx register writes the data value to the port latch. > . A read of the PORTx register reads the data value on the I/O pin. > . A read of the LATx register reads the data value held in the port latch= .. > Good post Joe. Thanks to all that contributed to this thread. I think we=20 can safely put it to bed now. :-) David... --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .