Mplab X Compiler -
__asm__ volatile ("bsf %0, %1" : "=r"(PORT) : "r"(0)); The compiler will allocate the register for you. It won't clobber the WREG. It's civilised.
Instead of:
bsf PORTA, 0 Use:
__asm__ volatile ("bsf %0, %1" : "=r"(PORT) : "r"(0)); The compiler will allocate the register for you. It won't clobber the WREG. It's civilised.
Instead of:
bsf PORTA, 0 Use:

Anjuman-Islam's Kalsekar Technical Campus