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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/23/07 05:24
Modified:
  04/23/07 05:51

Read: times


 
#137781 - error?
Responding to: ???'s previous message
Mike Stegmaier said:

I will explain the "standard" memory addressing scheme that he talks about. When you send or receive data to a certain memory location, a processor loads the address and data. The address consists of two parts. The segment (or selector if you want to call it that), and the offset. Think of a segment as a "group" and think of the offset as members of the group.

On an 8051, there are 3 SFRs (special function registers), that define external memory. DPH, DPL, and DPTR. DPH refers to the segment, DPL refers to the offset, and DPTR is both DPH and DPL together to form the complete memory address.


I always thought that segment:offset addressing scheme was specific to the 80x86 family of processors (see http://www.et.byu.edu/groups/ec...embly.html ). The 805x microcontroller has a 16-bit address which (in an 8 bit processor) is conveniently composed out of a high-order and low order byte, but sofar I have found no reference to segment:offset addressing in 805x literature.

regards

Patrick



List of 36 messages in thread
TopicAuthorDate
MMIO            01/01/70 00:00      
   MMIO            01/01/70 00:00      
      The only way? I know, at least, 5 more            01/01/70 00:00      
         careful now ...            01/01/70 00:00      
            well            01/01/70 00:00      
               true enough!            01/01/70 00:00      
      Answer is incorrectlystated!            01/01/70 00:00      
      8051 offers more connection points            01/01/70 00:00      
         true, but he didn't ask about that            01/01/70 00:00      
            But Lynn said it, and it's wrong            01/01/70 00:00      
               I\'m forced to agree ... it is wrong ... but ...            01/01/70 00:00      
         That\\\'s already been thoroughly established!            01/01/70 00:00      
            Regret on the word "only"            01/01/70 00:00      
               n ow I have to TOTALLY disagree            01/01/70 00:00      
               Lynn, I KNEW Erik would jump you on this one!            01/01/70 00:00      
                  you missed the biggie            01/01/70 00:00      
                     He didn't ask for ancient or modern, just answers            01/01/70 00:00      
                        as I said            01/01/70 00:00      
   What are you trying to connect?            01/01/70 00:00      
   Ambiguity?            01/01/70 00:00      
      oh my            01/01/70 00:00      
         error?            01/01/70 00:00      
            8051 addressing is not segmented            01/01/70 00:00      
         Oh dear!            01/01/70 00:00      
            you missed the POINT            01/01/70 00:00      
               no, YOU did            01/01/70 00:00      
               try not to confuse beginners...            01/01/70 00:00      
               You failed to make that point!            01/01/70 00:00      
         useful? I'd say confusing            01/01/70 00:00      
         Mike, you didn't read the 8086 datasheet either            01/01/70 00:00      
   Hardware conections            01/01/70 00:00      
      Hardware conections...            01/01/70 00:00      
      an example...            01/01/70 00:00      
      trying to 'relanguage'            01/01/70 00:00      
   MMIO meaning            01/01/70 00:00      

Back to Subject List