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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/02 19:03
Read: times


 
#22858 - RE: Keil C51: Absolute code-address
"But it seems it is not possible to use the at-Keyword to locate a struct in the codespace?!"

Wrong.

The manual clearly states that variables defined with _at_ cannot be initialised.

So you'll either have to do as Erik & Peter have suggested, or just make your 'C' a standard initialised definition (without _at_), and use the Linker to place the structure.

After all, it is the Linker's job to assign addresses; not the compiler's!

List of 6 messages in thread
TopicAuthorDate
Keil C51: Absolute code-address            01/01/70 00:00      
RE: Keil C51: Absolute code-address            01/01/70 00:00      
RE: Keil C51: Absolute code-address            01/01/70 00:00      
RE: Keil C51: Absolute code-address            01/01/70 00:00      
RE: Keil C51: Absolute code-address            01/01/70 00:00      
RE: Keil C51: Absolute code-address            01/01/70 00:00      

Back to Subject List