Improving memcpy performance on 8051
The CC2541 has a DMA controller. I suggest using it for XDATA&lt;->XDATA memory copies. Note that this won't work if one memory location is not XDATA (like CDATA or (I)DATA).