I have a Real-time c51 program, I need a large buffer(120 bytes).Now I use the data segment space, but when I link it an error will appear: "Address space overflow, Length: 001DH". I do not want to use xdata space like: xdata BYTE buf[120], because this type data will affect the executive speed, can I set a large data space? Now I use the uVision/51 for windows Version 1.32. Thanks very much! Tom wu
Data space is internal RAM within the chip; you can't change its size. How much DATA space does your particular chip have? Try moving everything else out from DATA. Could you use PDATA instead of XDATA?