Hi there, I had a font bitmap table which is 1088 bytes. The Ram in chip is not big enough. So I am thinking to put it in code segment. My questions are How do I do it in C and If the lut were in code segment, how can i access it? I am using 89c51rd and c51 compiler. Thanks
To declare a table in code space...
unsigned char code table [] = { 1, 2, 3, 4, 5, };
Declare your font bitmap as living in the "code" memory space, e.g.
const U8 code bitmap[] = { 1, 2, 3, 4 };
Thank you Jon. That works.
Thank you Drew.