Yup, mine is just in case something is badly define in the array, unless

PORTA = (PORTA & %11111001) | AVAL[COUNTERA]
PORTC = (PORTC & %11100000) | CvAL[CounterA]

Would work anyways.