M$FILL (Dynamic Memory Routine)

Sets a region of memory to a constant value.

Usage

CALL "M$FILL" 
    USING DEST-PTR, BYTE-VALUE, NUM-BYTES

Parameters

DEST-PTR USAGE POINTER Contains the address of the first byte of the region to be filled.
BYTE-VALUE Alpha-numeric parameter Contains the value with which to fill the memory region.
NUM-BYTES Numeric parameter Indicates the size of the memory region.

Description

This routine fills NUM-BYTES with BYTE-VALUE starting at address DEST-PTR. The parameters are passed BY REFERENCE. This routine does not do any boundary checking to make sure that the address range is valid.