40X1 portC use
Keep in mind that for the PortC pins,
there are a limited number of "simple" commands that will function being:
DIRSC, PINSC, HIGH PORTC, LOW PORTC
In addition, the HSEROUT & HSERIN commands (which are fixed to the portC pins C6 and C7),
and the i2c and spi functions, PWM1/2 with dedicated port C pin allocations.
SHIFTIN, SHIFTOUT, PULSIN, PULSOUT, etc will also not operate on Port C.
EDIT:
bwt, the "standard" outputs are on PortB. Its just that you do not use portB as a reference in the same way as for PortA and portC