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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/27/00 18:31
Read: times


 
#3436 - Fast xram copy
Hi, this is a piece of code to copy a 256 byte xram page to another xram page , but it is to slow
Is it the fastest way or is it possible to make it go faster?

mov p2,#0AAh ; Dest
mov dph,#0xABh ; Source

clr a
mov dpl,a
mov r2,a
mov r0,a


L1:
movx a,@dptr
movx @r0,a
inc r0
inc dpl
djnz r2,L1

ret

List of 6 messages in thread
TopicAuthorDate
Fast xram copy            01/01/70 00:00      
RE: Fast xram copy            01/01/70 00:00      
RE: Fast xram copy            01/01/70 00:00      
RE: Fast xram copy            01/01/70 00:00      
Move Pointers, Not Data            01/01/70 00:00      
RE: Move Pointers, Not Data            01/01/70 00:00      

Back to Subject List