If you are looking for a direct replacement I would suggest the 16F1847. Faster and twice the memory.