go here http://melabs.picbasic.com/Scripts/p....pl?action=adv
select 12 bits for the ADC resolution
Your answer will appear.

If you select the 16c774, make sure and read the errata. I used them years ago and they were not quite able to produce 12 bit resolution at the time ...