When I execute my simple program in MPLAB the PORTA filer register bit 0 is not being set, but I can easily set bit 0 of the FSR register that sits right next to PORTA in the micro. In fact, nothing I do to PORTA works. Has anyone seen this before?
Start BSF STATUS, RP0 MOVLW B'11111110' BCF STATUS, RP0
BSF PORTA, 0 ;doesn't work BSF FSR, 0 ;works
Thanks, Thomas