Yes it is something obvious


' FVRCON = $11000101 ' Enabled, Vref 1.024V, DAC1out1 (RA0).
should be
FVRCON = %11000101

Phil