[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
The compiler understood you correctly - according to the C language. Bit manipulation is Keil specific, that is why one should follow what they invented. The following code will work:
unsigned char bdata char_var;
sbit bit_var2 = char_var^2;
...
P1_1 = bit_var2;
...
Regards,
Mihasic.
E-mail: info@telesys.ru