We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm now porting a (by a former employee) RC-51 compiler developped application to the Keil ARM RealView compiler.
First I need to know what variable types are used in both compilers and how many bits they exist of.
The RC-51 compiler apparantly accepts 'short' variables but these variables are not mentioned in the RC-51 compiler manual.
Who can help me out?
Thanks
Henk
Did you try to google for "keil c51 data types"?
What improvements are needed in the top link found? http://www.keil.com/support/docs/1677.htm
You know that: - a short must be supported. - a short must be at least 16 bits large - a short can't be larger than an int
If you did find the size of an int, you would have had a good idea what the size of a short is.
thanks for the link,
I was just wondering why it was not mentioned in de compiler pdf as the others are.
"I was just wondering why it was not mentioned in de (sic) compiler pdf"
So what's this, then: http://www.keil.com/support/man/docs/c51/c51_ap_datastorage.htm ?!
Looking at Limits.h would most likely have answered your question for any Compiler.