C code with the C51 compiler error c213 : left side of asn-op not an lvalue code { unsigned char i,error=0; for (i=0x80;i>0;i/=2) { if (i & value) DATA=1; //error else DATA=0; SCK=1; _nop_();_nop_();_nop_(); SCK=0; } DATA=1; SCK=1; error=DATA; SCK=0; return error; }