I have Win95 operating system and v4.61 compiler.
asm
{
btfsc _gpio, 3
goto $+6
btfss _gpio, 3
goto $-1
bsf _SwMode, SW_ON_OFF
movf _SwMode, W
return
bcf _SwMode, SW_ON_OFF
movf _SwMode, W
return
}
After compiling the codes above, I received these errors: "Unexpected identifier 'btfsc'
, Missing ';' after 'goto' , Unexpected identifier 'btfss', Missing ';' after 'goto', Unexpected identifier 'bsf',Unexpected identifier 'bcf'Unexpected identifier '_S