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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/05 04:09
Read: times


 
#95056 - Initializing constant location.
Responding to: ???'s previous message
Scott:
You do not mention which tool set that you are using. Your posting does however show the use of C language so I have to guess you are using one of the popular C compiler and linker tool sets for the 8051 family. The method that you use to locate an initialized constant to a specific location in the code space will vary depending on whether you use Keil, Raisonance, Dunfield, SDCC, or one of the other 8051 tools.

If in the case you were to study the method used in the Keil C51 tool set you could criuse over to the Keil web site at www.keil.com and perform a knowledge base search using a term such as "locating constants absolute" and you would come across this reference link:

http://www.keil.com/support/docs/301.htm

...which tells you all about the subject.

A similar look in manuals or at vendor web sites would likely serve up similar information for the other tool sets.

Michael Karas


List of 27 messages in thread
TopicAuthorDate
Const Array Store at a Specific Address            01/01/70 00:00      
   Initializing constant location.            01/01/70 00:00      
      KEIL uVision 2 C51 6.10            01/01/70 00:00      
         No Linker?            01/01/70 00:00      
            Linking Mike            01/01/70 00:00      
               Linker's Job            01/01/70 00:00      
   Cannot you use something like....            01/01/70 00:00      
      in fact            01/01/70 00:00      
      Keil            01/01/70 00:00      
   seems it cannot be done in C with Keil            01/01/70 00:00      
      Done in 'C' with Keil            01/01/70 00:00      
   Linker job            01/01/70 00:00      
      Linker's Job            01/01/70 00:00      
   Intel Hex            01/01/70 00:00      
   Accessing Code Arrarys            01/01/70 00:00      
      Why so complicated?            01/01/70 00:00      
         Memory space            01/01/70 00:00      
            Oops!            01/01/70 00:00      
               No can do            01/01/70 00:00      
               To Steve/Craig            01/01/70 00:00      
                  Punisment?            01/01/70 00:00      
                     I'll just nip nack to last week and...            01/01/70 00:00      
                        Some would            01/01/70 00:00      
                     I have the impression that            01/01/70 00:00      
   a small problem with this that many have            01/01/70 00:00      
   using constant            01/01/70 00:00      
      const            01/01/70 00:00      

Back to Subject List