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
Last edited by mister_e; - 7th May 2009 at 05:46.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks