Sorry for the late reply - just back from a short (too short!) vacation.
Actually, Darrel, what you posted helps a lot. Again, I'm going through PBP code written by others and trying to make it both more easily maintainable as well as easier to read. The suggestion you made does exactly that - gives me a single place where I can make the changes needed when switching between different PICs.
I don't think that I can use ADCIN - I *think* that program execution halts while waiting for the ADC result and I can't tolerate the delay.
I'm avoiding adding my own ASM stuff for now, at least until I get a better sense of the landscape.
Many thanks!
dwayne
Bookmarks