Table of Contents


PET VIC-20 C64 C16 Plus/4 C128 X16 M65


MEMCPY <source_address>, <destination_address>, <length>

The MEMCPY command calls a built-in routine that copies length number bytes in memory from source_address to destination_address.


MEMCPY uses fast Direct Memory Access (DMA) on the M65.

The routine is overlapping-safe downwards only. Use it if

  • The source and destination ranges don't overlap, or
  • The destination range is lower in memory

For copying overlapping areas upwards, see MEMSHIFT.

See also