This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Copy xdata to xdata

How to copy array xbyte memory from one address(xdata) to another(xdata address) and use autoincrement DPTR to make it faster in Cx51? I have selected "use multiply DPTR register" in projects for target...

for(i=0 ; i<30;i++){
XBYTE[baseaddress1+i]=XBYTE[baseaddress2+i];
} This code is to slow.
Thanks for help.