Oops, looks like this won't work with the 16f877A. I get an undefined CCP3CON Symbol error.