I have updated my PIC development environment described at http://www.embedinc.com/pic. The way it was (or mostly wasn't) dealing with initialization of passive pullups had been bugging me for a while. There used to be switch called PORTBPULLUPS that you could set to TRUE or FALSE. That's OK for the older 16 family PICs, but doesn't fit well with most of the new chips that have individual pullup enables, and aren't limited to port B. The /INBIT preprocessor directive now has a PUP option to indicate the passive pullup on this pin is supposed to be enabled by default. See the PREPIC documentation file for details. The assembler logic in the template PORT module (QQQ_PORT.ASPIC) has been enhanced to check for illegal combinations of pullups requested. For example on an old PIC like a 16F877, either all or none of the port B input pins must have pullups enabled. In that case you will get an assembly time error if both RB0 and RB1 are inputs, but only RB0 has its pullup enabled. The /INBIT and /OUTBIT directives now also create symbols to support the LATx registers associated with each port of 18 family PICs. There were probably other minor enhancements and fixes made to various files that I don't remember now. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- 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