Differences

This shows you the differences between two versions of the page.

Link to this comparison view

memshift [2019/07/10 14:37] (current)
neils created
Line 1: Line 1:
 +====== MEMSHIFT ======
  
 +//Since version 2.1//
 +
 +Syntax:
 +
 +  memshift <int source_address>,​ <int destination_address>,​ <int length>
 +  ​
 +The ''​MEMSHIFT''​ command calls a built-in routine that copies //length// number bytes in memory from //​source_address//​ to //​destination_address//​.
 +
 +{{ :​memshift.png?​direct&​600 |}}
 +
 +The routine is overlapping-safe **upwards only**. Use it if
 +
 +  * The source and destination ranges don't overlap, or
 +  * The destination range is higher in memory
 +
 +For copying overlapping areas downwards, see ''​[[memcpy|MEMCPY]]''​.