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

Binary number representation

Hi Sir,

I am trying to do AND operation with a binary number. I;m little bit confused, here in forums for representation of binary number in keil is 11001100Y but while I'm trying to do the same it ixs showing the error.

I'm using MDK5 the syntax i mentioned is

char a;

a|= 11001100Y;

The error I'm getting is Invalid Suffix on Integer constant.

Does any one please clarify me the issue.

Thanks & Regards
Prasanna Kumari

Parents Reply Children
No data