In a PIC24FV32KA302 C code, I want to add inline assembly. For this, I use, for instance, __asm("BSET PORTB,8");.
When compiling, I get the following error message :
"Error: Invalid operands specified ('bset PORTB,8'). Check operand #0."
If I change "PORTB" by "0x2CA", I get the same error message.
Using XC16 with MPLABX.
What am I doing wrong?