Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
MemOps


NAME

MemOps - memory operations

SYNOPSIS

PROCEDURE Copy(source, dest: Types.Address; nbytes: Types.Count);
PROCEDURE CopyU(source, dest: Types.UntracedAddress; nbytes: Types.Count);
PROCEDURE Clear(addr: Types.Address; nbytes: Types.Count);
PROCEDURE ClearU(addr: Types.UntracedAddress; nbytes: Types.Count);

DESCRIPTION

This module serves as portable interface to a hopefully very efficient implementation of operations for memory areas. All operations came in two variants: one for addresses which are traced by the garbage collector (Types.Address), and one with untraced addresses (Types.UntracedAddress) with suffix U.

Copy and CopyU copy nbytes bytes from source to dest (which must not overlap).

Clear and ClearU fill the given memory area with zeros.

DIAGNOSTICS

None of the procedures checks the parameters or provides any kind of error handling.

AUTHORS

Werner Stanglow and Andreas Borchert

SEE ALSO

Types
difference between Types.Address and Types.UntracedAddress.

Edited by: borchert, last change: 1999/02/17, revision: 1.3, converted to HTML: 1999/02/17

Oberon || Library || Module Index || Search Engine || Definition || Module