I have recently changed mcu for memory space. I moved from 18f2620 to 18f26k20. But the new pic needs the LAT instruction to work properly.

Now I have several alias like:

Bit_Out0. Var portA.6

or

Bit_In0 var portB.0

Can I write:

Bit_Out0 var LATA.6

and

Bit_In0 var LATB.0

I read the manual and searched the forum without any luck!

Thank you for the answer.

Alberto