|ARM Technical Support Knowledge Articles|
Applies to: General Topics
I have a const byte array. I want to access it out of code memory space. The compiler sets up two segments; one in ROM and one in data space. Then during initialization it copies all the data from ROM into the data space. I want to set up a single segment in ROM. How can I do that?
Put CODE in front of the array declaration, in addition to CONST. Your declaration should something like the following:
code const array ;
Article last edited on: 2000-05-24 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?