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

How to input a binary number?

I'm using Keil to developing C8051 programs. In C51, we can type 0xff to input a hex number, so how to type a binary number? On the Internet someone said we can type for example 0b00010001 to express a binary number, but it seems does not work.
Thanks for your help!!