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.
copy memory from one address(xdata) to another(xdata address) ... make it faster
f you want that pig to fly do it in assembler, align your buffers on xx00h boundaries and use @Ri instructions. Been there, done that
If you have one of the rare few derivatives with multiple datapointers/autoincrement and whatnot: disregard the above, just use assembler.
Erik
There are compiler options to enable memcpy() et al to make use of multiple DPTRs...