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!!
Ahhh. I see.
No - only about half a dozen forums.
Still a compiler specific extension then. I thought they finally added it.
New Question? Start a New Thread http://www.keil.com/forum/post.asp
If you Post in SMS the image processing units on other forum users may return a gibberish error and log a do not reply to message fault. Give a little more Detail. Yes the ARM is a powerful CPU. But no match for a Multi-core PC with many gigs on RAM.
No. Neither C99 nor C11 added binary constants.
I am happy u knw y...coz atlast my ques s visible.,.i wd be hapier if u post d anser in d corespondin thread.,.. I hav bn waitin d whole day havnt anybdy stufd a img proc in an arm..??
If i am sane maybe you are, but it is insane to attach something totally unrelated to a thread.
Erik
Indeed !
LOL
Embedded image processing in ARM Hello evryone...i know some image proc in matlab am planning to take a gaint leap to embedded image processing have to do a project...i knw nothing about ARM....am planning to implement hand gesture recognition in an ARM totally embedded...and i programthat in matlab and convert to C...then burn ut in arm.... i want to knw....If i am sane about what iam talking about...Does ARM have the processing power??? and what is the good palce to start learnngembeded image processing???please reply have to decide the project soon.... Please some suggestions...
>>Second time this question has come up this week:
>>Good to see someone has got enough spare time to keep check on every forum in the whole world to keep track of such statistics. Indeed !
I though Binary was add to one of the newer ANSI revisions. No?
Second time this question has come up this week:
Good to see someone has got enough spare time to keep check on every forum in the whole world to keep track of such statistics.
Greet Answer!Thanks so much!
The 'C' programming language has no way to enter binary literals. This is standard, ANSI 'C' - it has nothing specifically to do with Keil or C51.
As noted, you can play "clever tricks" with macros if you wish...
e2e.ti.com/.../752363.aspx
There is a neat trick that uses octal notation to input binary numbers:
embeddedgurus.com/.../
View all questions in Keil forum