Re: Porting to XC16
Which other compiler?
What does the code do? We don't have a crystal ball.
It looks like the code is declaring bits in PORTB.
First of all read the XC16 documentation. Does it support 'bit' types?
If it does, then refer to the section that explains how to declare and use them.
If not, you need to consider a different strategy. What that strategy might be I can't say, without knowing more about the application.