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 increase my array size?

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.

Parents
  • 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

Reply
  • 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

Children
No data