Quote Originally Posted by Ioannis View Post
I think the closest to F877 is the 18F452. It is pin to pin compatible and has twice the memory. Once I remember porting the almost 7,5K of program directly to the F452 with a couple of DEFINEs on top. Piece of cake.
Ioannis
Agreed 100%.
Started out a project a long time ago on a 16F877A. Ran out of memory, plugged in an 18F452, changed a couple of define's, a few register settings, ran great. Ran out of memory again, plugged in an 18F4620, changed a few more register settings...Same program, ran like a champ (then ran out of code space again, built up an 80pin TQFP-> 40 pin DIP adapter for an 18F8722, plugged it in, changed 1 or 2 register settings, doubled the code space, ran great again).