From
http://www.picbasic.co.uk/forum/showthread.php?t=11128
ALLDIGITAL will need some adjustments for 18F87J50 family and probably some others.
On this family, ANCON1, ANCON0 are alternate SFR to ADCON0, ADCON1. They share the same address, so you need to set/clear WDTCON.ADSHR to switch between SFRs before writing on... dear Microchip
http://ww1.microchip.com/downloads/e...Doc/39775b.pdf
Section 5.3.5.1, pdf page 82, Shared SFRs & WDTCON
Bookmarks