Hi there,

If you have a variable say "PORTDATA" then it could be like this
Code:
PORTA.1 = PORTDATA.0

"" "" ""

PORTB.1 = PORTDATA.15
and so on. Or you can create bit alliases like
Code:
PORTA.1 VAR PORTDATA.7
and so on.