Page 1 of 1

[Implemented] MoveMemory/FillMemory

Posted: Thu Jun 03, 2004 9:42 pm
by freedimension
The MoveMemory-Command could come very handy if you try to move a memory block to a destination that is part of the memory block itself (i.e. it's overlapping). Source->Buffer->Dest instead of Source->Dest

Code: Select all

MoveMemory(*a, *a+5, 50) ;shifting 50 Bytes 5 Bytes to the right
FillMemory should fill a specified length of Bytes with a given number.

Code: Select all

FillMemory(*a, 0, 50) ;Filling 50 zeros into *a