pic16f877 architecture
Hi, first of all. For hardware aspects, you need a resistor and cap as a minimal oscillator configuration. If your timing is critical, then you should consider crystal.
For flash PIC, you should consider a RJ connector on your PIC16F877 design, for use with third party debugger (which is used to program your PIC also).
For software point of view, I wouldn't want to work on assembly language anymore, though the assembler is free from Microchip. Try C compiler from third parties like CCS PCWH :wink: It is widely available in the www ( check out on overnet network). CCS website has a PIC forum whereby people discuss anything on PICs. Do check it out
There is a PIC C book for CCS C compiler. You can get it here at ebook here