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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/21/04 13:19
Read: times


 
#70825 - RE: use pointers - VERY CAREFULLY!
Responding to: ???'s previous message
Shahzad Aslam said:
There pointers in C and pointers point to some memory location.


Yes, but the 8051 has six different memory spaces; Keil call them SFR, DATA, IDATA, PDATA, DATA, and CODE.

Therefore, a pointer for 'C' to run on an 8051 needs to specify not only the address but also the memory space.

Standard 'C' has no provision for this whatsoever, so compiler vendors have to implement their own proprietary extensions to the language to cope with it.

Therefore, there is no point in discussing this without knowing precisely what compiler Tobias is using!


List of 16 messages in thread
TopicAuthorDate
How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   use pointers            01/01/70 00:00      
      RE: use pointers - VERY CAREFULLY!            01/01/70 00:00      
      RE: use pointers            01/01/70 00:00      
      RE: use pointers            01/01/70 00:00      
         It all depends on the compiler...            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   What C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      RE: Keil            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      

Back to Subject List