Is it possible to use uPSD3354 option "DPTR Auto Toggle" and "DPTR Auto Increment" in my source code ? Problem: the standard interrupt header do not contain code for saving and initializing this options in DPTC a DPTM registers. Original "memcpy" uses only "manual" DPTR toggle and don't use auto increment of DPTR. Thank you.
maybe 'most', but the throughput advantage for a (lenghty) XDATA to XDATA move is enormous.
Which of course is exactly why memcpy() is implemented using this feature, in the dedicated Keil runtime libraries for architectures that support it. By extension, that also covers the implied memcpy()s in struct assignments.
But with that base covered, there really isn't much gain left to be had. There is the occasional situation where you're juggling just enough objects that not needing to re-load DPTR all the time actually helps. Been there, done that (in asm, though), on a DS80C390 with 24-bit DPTRs. The difference between flipping DPS and saving/restoring 3 bytes of DPTR would really have hurt.