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

Back to Subject List

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


 
#72218 - RE: Course Notes - Memory expanded
Responding to: ???'s previous message
Oleg Sergeev said:
okay, I think it is question of the terms:
MOV B,#1 ; access of SFR 
MOV 0xF0,#1 ; direct memory access (but does the same :)
Now could you explain me the difference between these two lines above?

There is no difference!
The two are completely equivalent - 'B' is just a symbolic name for the address 0xF0 in the SFR Area

Look at the generated opcodes:
0010 75F001           35             MOV B,#1    ; access of SFR 
0013 75F001           36             MOV 0xF0,#1 ; direct memory access (but does the same :)
They are identical!

That's why I says there are two distinct memory areas involved:
Direct addresses 00-7F access the bottom half of the RAM area;
Direct addresses 80-FF access the SFR area.



List of 61 messages in thread
TopicAuthorDate
8051 programming class            01/01/70 00:00      
   RE: 8051 programming class            01/01/70 00:00      
   RE: 8051 programming class            01/01/70 00:00      
      Seriously, now...            01/01/70 00:00      
      RE: 8051 programming class            01/01/70 00:00      
         Teaching or Studying?            01/01/70 00:00      
   RE: 8051 programming class            01/01/70 00:00      
      RE: 8051 programming class            01/01/70 00:00      
         Two Cents            01/01/70 00:00      
            RE: Two Cents            01/01/70 00:00      
               RE: Two Cents            01/01/70 00:00      
   RE: 8051 programming class            01/01/70 00:00      
      RE: 8051 programming class            01/01/70 00:00      
         RE: 8051 programming class            01/01/70 00:00      
            RE: 8051 programming class            01/01/70 00:00      
               RE: 8051 programming class            01/01/70 00:00      
         RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
            RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
               RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                  RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                     RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                        RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                           RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                              RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                                 RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                                    RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                                    RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                           Devil\'s advocate            01/01/70 00:00      
                              RE: Devil\\\\\\\'s advocate            01/01/70 00:00      
                              RE: Devil\\\'s advocate            01/01/70 00:00      
                                 Valves? Yes please!            01/01/70 00:00      
                                    RE: Valves? Yes please!            01/01/70 00:00      
                                       RE: Valves? Yes please!            01/01/70 00:00      
                                 RE: Devils advocate            01/01/70 00:00      
                           RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                              RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                              RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
                                 RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
               Echo            01/01/70 00:00      
                  RE: Echo            01/01/70 00:00      
            RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
               RE: 8051 programming class MAJOR mistake            01/01/70 00:00      
         RE: Course Notes - Memory            01/01/70 00:00      
            RE: Course Notes - Memory expanded            01/01/70 00:00      
               RE: Course Notes - Memory expanded            01/01/70 00:00      
               RE: Course Notes - Memory expanded            01/01/70 00:00      
                  Why I said four instead of five            01/01/70 00:00      
                  RE: Course Notes - Memory expanded            01/01/70 00:00      
                     RE: Course Notes - Memory expanded            01/01/70 00:00      
                     RE: Course Notes - Memory expanded            01/01/70 00:00      
                        RE: Course Notes - Memory expanded            01/01/70 00:00      
                           RE: Course Notes - Memory expanded            01/01/70 00:00      
                              RE: Course Notes - Memory expanded            01/01/70 00:00      
                           RE: Course Notes - Memory expanded            01/01/70 00:00      
                              RE: Course Notes - Memory expanded            01/01/70 00:00      
                                 Memory Areas and Addressing Modes            01/01/70 00:00      
                                    RE: Memory Areas and Addressing Modes            01/01/70 00:00      
                                       RE: Memory Areas and Addressing Modes            01/01/70 00:00      
         RE: 8051 class - Signed Numbers            01/01/70 00:00      
   RE: 8051 programming class            01/01/70 00:00      
      RE: 8051 programming class            01/01/70 00:00      

Back to Subject List