I defined a array like this: uchar *tuning_order[160]={}; or const uchar *tuning_order[160]={}; but Keil said: error C249: 'DATA': SEGMENT TOO LARGE I do not konw why?I use the AT89S51.
You need to read the section of the C51 Manual that describes the language extensions added by Keil to support the 8051's various memory areas: http://www.keil.com/support/man/docs/c51/c51_le_memareas.htm If you don't already understand the various memory areas in the 8051 architecture, you will also need to read the "bible" documents cited by Erik.