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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/04/02 16:16
Read: times


 
#28573 - RE: selecting a ram location with offset
try using movx a,@dptr . Before using this command you need to store pc to dptr and add a to dptr. So following few lines will do the task:

.
.
mov dph,pch
mov dpl,pcl

add a,dpl
mov dpl,a
clr a
addc a,dph
mov dph,a

movx a,@dptr
.
.
.


List of 15 messages in thread
TopicAuthorDate
selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: Andy            01/01/70 00:00      
RE: Andy            01/01/70 00:00      
RE: Andy            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: Andy            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
the previous one was for Peter Dannegger            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      
RE: selecting a ram location with offset            01/01/70 00:00      

Back to Subject List