PCFG12 is bit 4 in ANCON1 so
Code:
ANCON1.4 = 1
should do it, but that's for AN12 which is RB0 while you're talking about RA0 which is AN0 so
Code:
ANCON0.0 = 1
/Henrik.