Datasheet! Dowload the Datasheet and read it... last I checked, the 16F627 didn't have A/D (which is a pretty good reason why you can't get them to work)... it has Analogue Comparators... the Datasheet does a pretty good job in explaining how to configure and use them.