Hi, How to represent a binary number in C51? I wrote, for example, 11110000b but the C51 don't agree! Please, answer me. Thank you. Hoang Kong Kong. Ha Noi-Viet Nam.
The 'C' language does not have a notation for binary numbers. Surprising, disappointing - but true! :-( That's just 'C' for you. http://www.keil.com/forum/docs/thread1064.asp
Thank you very much! Now I understand it. (I'm a beginner for 8051 and C51). Hoang Kong Kong.
may be u can translate the .c into .asm first and than u can make a change on it. :) Best Regards, Andy Mario
"I'm a beginner for 8051 and C51" Note that this has nothing specifically to do with the 8051 or C51 - it is plain, standard, 'C'
View all questions in Keil forum