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.
I want to include a hexidecimal array into my c code. The hexidecimal array has about a thousand elements in it. The compiler would not let me do it. I am using a 89C664 microprocessor. I want to know how I can compile it with this hexidecimal array.
As Andrew's post demonstrates, C51 is *not* ANSI/ISC C when you really have to do real work. Try recursing a function an watch what happens without the non-ANSI keyword 'reentrant'. I type *all* my variables with code, data, idata, xdata, etc. And disable ANSI integer promotion if you want to gain some performance. Regards. - Mark