Contents | Prev | Next

7.4.32 The move procedure

Description

The move procedure copies memory from one memory address to another. The memory is copied correctly even if the source and destination memory locations overlap.

Parameter

  1. The first parameter is a reference to a variable that specifies the source memory address (i.e. the address of the first byte to be copied). If the variable is of address type or of pointer type then the address stored in the variable is the source memory address. If the variable is not of address type or of pointer type then the address of the variable itself is the source memory address.
  2. The second parameter is a reference to a variable that specifies the destination memory address (i.e. the address where the memory is to be copied). If the variable is of address type or of pointer type then the address stored in the variable is the destination memory address. If the variable is not of address type or of pointer type then the address of the variable itself is the destination memory address.
  3. The third parameter is an expression of integral type which specifies the number of memory locations to copy. NOTE: This parameter is always treated as an unsigned integer number.

Portability

Operating Systems: All
Standard Pascal: No

Contents | Prev | Next