Swap key – Dataman S4 User Manual
Page 54
![background image](https://www.manualsdir.com/files/768893/content/doc054.png)
DATAMAN S4 MANUAL
54 SWAP KEY
SWAP KEY
SWAP (START),(END),(DEST)
Exchanges the code in two equal length
memory blocks. The block from hex address
FROM (START) to hex address (END) is
exchanged with a block of same length starting
at hex address (DEST). Swapping overlapping
blocks does not do anything particularly useful,
but you are not prevented from doing it.
Swapping twice with the same parameters will
restore the original code, provided there was
no overlapping.