Carey Fisher - NCS wrote : > But, generally, in fact most of the time, if I'm reading > PORTx I don't care what's in LATx since I'm using > the port as an input, no? > Carey Hm, if *all* 8 bits are inputs ? I did not made that restriction... And saying "most of the time" dosn't make the issue to be non-existent. There *is* a read-modify-write issue with the PICs and it can't hurt to know about it and to understand when you should watch out for it. And, thanks to the LATx SFR's, it's less of a problem on the 18-series PICs... Jan-Erik. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads