Move Method
UP ]

 

Description

This method is used to move a block of memory from one location (FromAddress) to another (ToAddress), a byte at a time. The block of memory created beginning at the destination address (ToAddress) may overlap the memory block defined by the <FromAddress> and <FromAddress + cBytes>. The event OnMove is fired when the movement is completed.

Syntax

HCS121.Move (FromAddress, ToAddress, cBytes)

Part Type Description
cbytes Integer Number of bytes to be moved.
FromAddress long Start address of the block to be moved.
ToAddress long Destination address of the block to be moved.

Remarks

One of the uses of the Move method might be to copy a program from RAM to EEPROM memory.

See also:

OnMove event .

 

If you have a question or suggestion please contact me. Updated: 03.27.2003
Copyright (c) 2003-2004 J.Gorgas. All rights reserved. All trademarks mentioned are the property of their respective owners.