How about something simple, like:

Code:
PORTA.0 = Digit.0
PORTA.1 = Digit.1
PORTA.2 = Digit.2
PORTA.3 = Digit.3
HTH,
SteveB