====== MEMSHIFT ====== [pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65] ===== Syntax ===== MEMSHIFT , , 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 |}} ''MEMSHIFT'' uses fast Direct Memory Access (DMA) on the [m65]. 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]]''. ===== See also ===== * [[MEMSET]] * [[MEMCPY]]