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

define or another issue

#define MHI 1;
unsigned char xdata TTT _at_ 0xff00;
if((TTT&0x01)==MHI)
{
}

Hi,All
I have a C51 program show on upper.
I found it show error message syntax error after build. Then I tried to change code
if((TTT&0x01)==1). and build .The compiler is pass. Is it a compiler limit or my mistake.

Thanks

0