Memory Move (MEMMOVE)

Bound program access

Built-in number for MEMMOVE is 16. MEMMOVE ( target_string : address of aggregate(*) source_string : address of aggregate(*) copy_length : unsigned binary(4) value which specifies the number of bytes to copy ) : space pointer(16) to the target string

Description

A copy from the storage specified by source string to the storage specified by target string is performed. Copy length specifies the number of bytes to copy. It is assumed that sufficient storage exists at the target string location to receive the specified number of bytes.

Pointers can be copied using this function. However, the source and target strings must be like-aligned.

Results are defined if the storage locations specified by target string and source string overlap. The result is equivalent to copying the source string first to a temporary location and then from the temporary location to the target string.

Authorization Required

Lock Enforcement

Exceptions

06 Addressing

1C Machine-Dependent

20 Machine Support

24 Pointer Specification

2E Resource Control Limit

44 Protection Violation