Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
Bytes


NAME

Bytes - byte and pointer manipulations

SYNOPSIS

PROCEDURE ByteNCopy(to, from : ADDRESS; no : CARDINAL);
PROCEDURE PINC(VAR ptr : ADDRESS; no : CARDINAL);
PROCEDURE PDEC(VAR ptr : ADDRESS; no : CARDINAL);

DESCRIPTION

ByteNCopy copies no bytes in an optimized way from address from to address to.

PINC and PDEC increment respectively decrement ptr (potentially a pointer variable) by the number of bytes specified as no.

AUTHOR

Werner Stanglow
Edited by: borchert, last change: 1997/02/25, revision: 1.2, converted to HTML: 1997/04/28

Modula-2 || Compiler & Tools || Library || Search Engine