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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/04/06 09:27
Read: times


 
#123629 - Thanks.
Responding to: ???'s previous message
Thanks for all the good replies. Now I understand more about the memory usage of 8052.

I like to mention one point about my mis-understanding. If you take a look at the 8052 tutorial in this site, it reads:

"The 80 bytes remaining of Internal RAM, from addresses 30h through 7Fh, may be used by user variables that need to be accessed frequently or at high-speed. This area is also utilized by the microcontroller as a storage area for the operating stack. This fact severely limits the 8051s stack since, as illustrated in the memory map, the area reserved for the stack is only 80 bytes--and usually it is less since this 80 bytes has to be shared between the stack and user variables."

It should also mention the trick of pointing the SP to indirect addressing space (>80h), which I believe most of the 8052 programs did. If I am not mistaking, the tutorial didn't mention anything about the sharing of addresses and there are physically 2 copies of 80h to ffh memory.



List of 11 messages in thread
TopicAuthorDate
Newbie need help            01/01/70 00:00      
   8052 Magic            01/01/70 00:00      
      stack overlay on SFR            01/01/70 00:00      
         You are missing...            01/01/70 00:00      
            Same address, different circuits            01/01/70 00:00      
               Confused?!            01/01/70 00:00      
   peculiarities            01/01/70 00:00      
      link            01/01/70 00:00      
   Thanks.            01/01/70 00:00      
      8051 vs 8052            01/01/70 00:00      
         understatement of the year            01/01/70 00:00      

Back to Subject List