I am developing a one program in keil for Atmel chip AT89C2051. In this program I use constant data table to store constant value in ROM. My base code that will handles one 7 Segment display two switches for up and down and some port handling operation with constant data that will requires around 1 Kb of space. Now my question is that the constant data table space which I needs for this program will also increased to around 2.5 Kb so it will out of space for selected chip. I checked that my data table has lots of repetitive value (around 80% repetitive value) so I needs some technique to compress this data table to fit it on my selected chip. Please note that I do not want to change chip to increase the code space.
Keil supports RW data compression but I think this will works on only ARM controllers. Please see the link for more info.
http://www.keil.com/support/man/docs/armlink/armlink_chddibfi.htm