Code:
Flag    VAR BIT

TOGGLE Flag
Don't do this!
It might work now but it will mess you up. TOGGLE is ONLY meant to be used on PORT and LAT registers. Look it up in the manual for more details.

You can easily toggle a bit variable by doing either one of
Code:
Flag = !Flag
Flag = ~Flag