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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/10 10:43
Modified:
  04/01/10 10:44

Read: times


 
#174729 - reply to re
Responding to: ???'s previous message
Hithesh N said:

Valentin,

So if my external memory starts at 4000H, then
MOV DPTR, #4000H
MOVX A, @DPTR
should put the byte at 4000h into A. correct?


Hithesh,

If, by external memory, you really mean external data memory (as Andy has already hinted) then your example would indeed be correct. I also recommend that you spend a little time reading 'the bible', suggest you look in the 'memory organisation' section as a starting point..

Cheers,
Valentin

List of 14 messages in thread
TopicAuthorDate
8051 Instruction MOV A, addr            01/01/70 00:00      
   If reading from codespace, use 'MOVC'            01/01/70 00:00      
      Why CLR A ?            01/01/70 00:00      
         Good question..            01/01/70 00:00      
            I must be going blind!            01/01/70 00:00      
               re            01/01/70 00:00      
                  Did you check the so-called "bible"?            01/01/70 00:00      
                     I should have clarified            01/01/70 00:00      
                        external            01/01/70 00:00      
                  reply to re            01/01/70 00:00      
      CLR A??            01/01/70 00:00      
         "bible" time            01/01/70 00:00      
            Done :-)            01/01/70 00:00      
   "bible" time            01/01/70 00:00      

Back to Subject List