I have one 16F877A circuit already built, I could reprogram the PIC and link it to my PC via the RS232. I will get back to you later today.
hi,
Programmed a 16F877 [dont have a A ver] with your program.
I have set the RS232 PC to 19200 baud and assumed a 4MHz xtal.
Linked via MAX232 to my PC, using a RS232 utility prog I can send single bytes to the PIC and see the LED's ON or OFF, as set by the byte value.
The LED's are steady without any flashing.
I will look again later...