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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/02/06 17:30
Read: times


 
#123582 - Confused?!
Responding to: ???'s previous message
Joseph Hebert said:
the memory area and the SFRs are two physically separate circuits which share common addresses. Right, that's confusing.

True - it's confusing at first, but you should soon get the hang of it!

If you access one of those addresses with direct addressing, you are accessing the SFR circuits. If you access one of those addresses with indirect addressing, you are accessing the memory circuits.

A further point of possible confusion is that this applies only to the upper 128 addresses (0x80-0xFF);
For the lower 128 addresses (0x00-0x7F), both direct & indirect addressing access the memory circuits!

Again, see the diagram referenced earlier.

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