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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/20/08 11:22
Read: times


 
#158436 - What does datasheet says?
Responding to: ???'s previous message
Dear Marshall,

Marshall Brown said:


Is there any way that I can change the location of the pointer to use XDATA space.

I am using SILABS C8051F047 and Raisonance C Compiler.

Thanks and Regards

Marshall Brown



Have you read datasheets of your MCU & compiler?

Does your part has onchip xram? (If not you can add external if device has address+data bus & read/write signals)

As how to use xdata space; the datasheet for compiler can be useful(normally you can instruct compiler while declaring the variable, at least it works with Keil as well as SDCC.)

Welll I am not familiar to Raisonance compiler or even your part of MCU. But this is normal practise to refer datasheet.

Regards,
Mahesh



List of 15 messages in thread
TopicAuthorDate
Location of Pointers in XDATA            01/01/70 00:00      
   What does datasheet says?            01/01/70 00:00      
   RC-51 ref manual, pg 51            01/01/70 00:00      
      ahh so easy when you read the instructions            01/01/70 00:00      
         xdata?            01/01/70 00:00      
            too?            01/01/70 00:00      
               Well yes actually - now that you mention it            01/01/70 00:00      
                  what do you really want?            01/01/70 00:00      
                     You are correct you supplied the answer as asked            01/01/70 00:00      
                        wronk 'keyword'            01/01/70 00:00      
                           const + code            01/01/70 00:00      
                              the compiler is smart enough to ...            01/01/70 00:00      
                                 Compiler-specific?            01/01/70 00:00      
                                    It didn't actually compile with CONST            01/01/70 00:00      
                                       const is expected to catch non-const assigns            01/01/70 00:00      

Back to Subject List