Well here goes.
Its an edited version of the code to just include the uart bits.
I'm just trying to find if there are any gotchas porting to the 16f18877
I have recently upgraded to CCS V5.075 so as to get support for the more modern chips.
I am now porting a working application from a 16F877 to a 16F1887.
All appears to be working file except for UA ...