Quote Originally Posted by richard View Post
your version cannot work since CCP1CON and CCPR1H are not in bank 0

and yes the code you marked red serves no purpose in the given example
Richard,
Thanks for your reply.
Yes, you're right. 103 error occurs after compiling. Banksel command is used, will you?

Talat