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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/13/05 13:15
Read: times


 
#84922 - Not what I meant!
Responding to: ???'s previous message
I said:
Anyway, IMO, _at_ has no place in 'C' - assigning addresses is the Linker's Job!


Mikkel C. Simonsen said:
If the linker assigned all adresses, it would be a bit hard to work with memory mapped I/O...

If the Linker did it all automatically, with no possibility of programmer control, that would be true. But that's not what I meant.

What I mean is, relating physical addresses to symbolic names is the Linker's job; so, if you want to manually assign addresses (eg, for memory-mapped IO) you should do this in Linker controls - not in 'C' source code.

Sorry I wasn't clear

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