ALLOcate - allocate some patch space.

Syntax:

ALLO <expression>

Where:

<expression>
is an expression that specifies how many words to allocate.

Examples:

ALLO 245
ALLO *-145

Description:

The ALLOcate command will allocate some patch space from the trace package's core hole. A maximum of 2000 octal or 1024 decimal words may be allocated in total; and the trace package uses some space for internal storage.

ALLOcate prints out the address at which the block of patch space starts and then returns to the trace package's command level.

You cannot return individual pieces of allocated memory, but the "I S" command can be used declare the whole 1k pool is free to be used again.

The first time that memory is allocated from this memory pool the upper half of .LHOLE (word 31) in the program prefix is updated to reflect the fact that TRACE has taken 1024 words of memory for this pool. This will work fine with most languages, but there may be some programs that have trouble with this.

See Also:

explain trace at
for another command that uses this space.
explain trace expression
for a discussion of symbolic expressions.
explain trace i
for how to reset the memory pool.

Copyright © 1996, Thinkage Ltd.