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 enter an binary data in Keil?

How can we do this
In assembly we do
mov P0, #10001000B

But in Keil how can we do this
P0 = 10001000, in binary
not by
P0 = 0x11;
Thank you!

Parents
  • By The Way: Note that Keil C51 does provide an extension to the standard 'C' language that allows you to make use of the 8051's bit-addressable features.

    You need to look it up in the Manual

    This won't help you for writing binary constants, of course.

Reply
  • By The Way: Note that Keil C51 does provide an extension to the standard 'C' language that allows you to make use of the 8051's bit-addressable features.

    You need to look it up in the Manual

    This won't help you for writing binary constants, of course.

Children