My guess is that the 16F866 is probably going to be the 16F876A replacement--and they are cheaper than either of the older parts. It will possibly require more edits than going to the A part, but not as many as going to the 18F part.
Note that 18F parts, given the same specs, are like having larger code space. They don't have code pages, and they have almost twice as many asm commands. You can expect a 20% savings right off the top. I also believe the 18F2420's are facing impending obsolescence, as the 18F24K20 (I think that's the new part...) has migration instructions to it. And it's cheaper.
Bookmarks