This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bdata problem

can any one solve this
#include <AT89X51.H>

#include<stdio.h>
bdata unsigned int a;

sbit lsb=a^0;
sbit msb=a^7;
bit i;
    void main()

{
a=0xaa;
  while(1)
{
  i=lsb;
  a=a>>1;
  msb=i;
  a^7=msb;
   P1=a;
 }
}


for this code iam getting
error as syntax error near"="

0