TAL Programmer's Guide
Using Extended Data Segments
Managing Addressing
096254 Tandem Computers Incorporated B–15
Copying Data Between Segments
You cannot use a move statement to copy data between extended segments. You can
use a move statement to copy data from an extended segment to the user data segment
and then from there to another extended segment, or you can use the MOVEX system
procedure.
Managing Large Blocks of Memory
To manage large blocks of memory, you can call the following system procedures:
DEFINEPOOL Defines the bounds of a memory pool in an extended data
segment or in the user data segment.
GETPOOL Obtains a block of storage from a memory pool.
PUTPOOL Returns a block of storage to a memory pool.
Each of the procedures returns a condition code and a value. If you assign a returned
value to a variable, the condition code is lost.
The following example shows how to use memory pools to manage data storage in
extended data segments. As shown in the example, you should store –1 or–1D in nil
pointers , not 0D because 0D points to the first word in the user data segment.