This instruction is not accepted by compiler :
BTSC f,#bit4 >> Bit Test f, Skip if Clear
only BTSC Ws,#bit4 >> Bit Test Ws, Skip if Clear compile OK !
Code: Select all
asm
BTSC PORTB,#15
end;
Same problems for :
Code: Select all
BTSS PORTB,#15
BTST PORTB,#15
BTSTS PORTB,#15
BTG PORTB,#15
CP1 PORTB
CP1 W12
NOPR