Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/05 06:41
Read: times


 
#84810 - Strings in ROM
Responding to: ???'s previous message

With the IAR and Raisonance compilers, the 'const' operator declares the variable as unable to be written and puts it into rom. I dare say Keil is similar - best read the manual to confirm.

something like....

const char romstr[]={'Hello there'};




List of 9 messages in thread
TopicAuthorDate
Locating a String in ROM            01/01/70 00:00      
   you did            01/01/70 00:00      
   Hmm            01/01/70 00:00      
      manual!            01/01/70 00:00      
         Assigning adresses            01/01/70 00:00      
            Not what I meant!            01/01/70 00:00      
   OK!            01/01/70 00:00      
      Strings in ROM            01/01/70 00:00      
         const            01/01/70 00:00      

Back to Subject List