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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/11/07 14:16
Read: times


 
#148076 - Example
Responding to: ???'s previous message
Erik Malund said:
I would like to see a valid example of a need to fix some variables location in code memory.

True - in many (most?) cases when this question is asked, there is no real need to have both the fixed absolute location and an initialisation.

However, there certainly are examples where it is justified; probably the commonest is to have a version string and/or checksum at a well-known location in the ROM so that it can easily be found in a hex dump, programmer, or similar.




List of 11 messages in thread
TopicAuthorDate
How to initialize Absolute variables in code mem?            01/01/70 00:00      
   The answer is here            01/01/70 00:00      
      Answer explained:            01/01/70 00:00      
         this is something Keil should implement            01/01/70 00:00      
            why do you need this?            01/01/70 00:00      
               Example            01/01/70 00:00      
                  OK, I accept            01/01/70 00:00      
   Why?            01/01/70 00:00      
   I would fall back to assy here            01/01/70 00:00      
      Not exactly true            01/01/70 00:00      
         Linker segments            01/01/70 00:00      

Back to Subject List