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

Back to Subject List

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


 
Msg Score: +1
 +1 Good Answer/Helpful
#108803 - stack???
Responding to: ???'s previous message
First, I don't know why did you use the word "stack" as a subject for your post. Please explain.

What others said here is absolutely true, the whole internal RAM at addresses 00-FF (in 8051: 00-7F, as it has only 128 bytes of RAM) can be accessed using indirect adressing (and can be used as stack).
But what the autor of mentioned book might want to say was, that it is impractical to access the area of 00-2F indirectly as a general data memory, as this area has additional special functions: 00-1F contains 4 set of registers; additionally the default stack starts from 08 up. The 20-2F area contains bit-addressable RAM cells, this is valuable for many embedded applications.

The '51 is a very peculiar architecture as per memory model and I remember my confusion when I started to work on it. I tried to work from this memory when I wrote this into the would-be 8052.com wiki.

Jan Waclawek



List of 7 messages in thread
TopicAuthorDate
stack            01/01/70 00:00      
   What book?            01/01/70 00:00      
   Dont Read any book before Bible            01/01/70 00:00      
   30h to 7Fh is wrong !            01/01/70 00:00      
   stack???            01/01/70 00:00      
      It is unfortunate, but - and nother poin            01/01/70 00:00      
         A point            01/01/70 00:00      

Back to Subject List