[rant]I don't think I'll ever understand why many of these built in modules are enabled by default. normal I/O are used a lot, random hardware modules are used for specific purposes, and if you actually want to use them then you generally need to manually configure them with various registers ANYWAY, so it wouldn't be any trouble to enable them while you're at it. I have never used the comparator module in the PICs, not even once, in the several dozen projects I've done, but I've used the I/O pins associated with the comparator module many times... and yet Microchip thinks the comparator is important enough to take over those pins by default... and the parallel slave port in the 16F877... give me a break, I have never even heard of that being used. Having them on by default just adds extra steps to every program, even if you just want to do simple things like light up some LED's. It's almost like they just made it the default so that they could trip up beginners, like what happened here.
[/rant]