Do I need to define / configure all of the ports on the chip or just the ports used in the program? I don't recall defining the ports that way for the 16f and it seemed to compile fine and run well except for the wide range in the counts from the timer loop.