Hello Jrt4fun,

Jrt>>Now when I use a pic16f876A the code is working perfectly. However when I use the same code on a pic16f876 the program is not working at all.<<

My first step, would be to write a blinky to verify your pin is good.

Are the clock speeds the same?
Are you running 9600 on a 4mhz chip?
Can you verify your receive pin is ok?
Can you verify your tranmit pin is still working?
Is the pin grounded with a 5k resister?
Is the new pin a I/O pin?

Dwayne