So I wrote it in this way, but it does not works:

Code:
AC VAR BIT[5]
AR VAR BIT[7]


AC[5]=PORTC.5
AC[4]=PORTC.4
AC[3]=PORTB.3 
AC[2]=PORTB.1
AC[1]=PORTB.5 

AR[1]=PORTB.6
AR[2]=PORTC.7
AR[3]=PORTB.2 
AR[4]=PORTB.0 
AR[5]=PORTB.4 
AR[6]=PORTB.7
AR[7]=PORTC.6 

'make all leds connected to ports on.

low ac[1]
low ac[2]
low ac[3]
low ac[4]
low ac[5]
high ar[1]
high ar[2]
high ar[3]
high ar[4]
high ar[5]
high ar[6]
high ar[7]

'but it does not works
'but it works with code below
low PORTB.3
HIGH PORTC.7



end