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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/03/09 13:55
Read: times


 
#166709 - Agreed
Responding to: ???'s previous message
Andy Neil said:
Kiran V. Sutar said:
When you specify any variable as char, int long, float, double it is in RAM

Not necessarily true - these are 'C' data types; they have nothing to do with what memory technology is used to provide the storage - RAM, ROM, etc...

I agree with you for 'C' data types. The OP asked specifically for Keil and 89S52.
Open a new project in Keil, and define a global variable: "char var1".
As far as Keil(Memory model:Small) and MCS51 is concerned: "var1" will be in RAM.
Looking at OP request, I assumed that OP is novice. Hence I assumed he is using "Small Model".


List of 14 messages in thread
TopicAuthorDate
How to use on-chip RAM for array storage in Keil?            01/01/70 00:00      
   Basics: 8052 Memory Spaces            01/01/70 00:00      
      The message doesn't exist            01/01/70 00:00      
   data, xdata            01/01/70 00:00      
      Incorrect            01/01/70 00:00      
         Getting it now....            01/01/70 00:00      
            Not quite            01/01/70 00:00      
               I got it completely now!            01/01/70 00:00      
   Some possible answers..Munish            01/01/70 00:00      
      Thanks!            01/01/70 00:00      
      "RAM" and "Data Memory" are not synonymous            01/01/70 00:00      
         Agreed            01/01/70 00:00      
      NO WAY            01/01/70 00:00      
         Thanks for correcting me            01/01/70 00:00      

Back to Subject List