next up previous contents index
Next: FREE Up: Stack/Heap Allocation Previous: ADDSP   Contents   Index

MALLOC

Stack Input: Integer

Stack Output: Memory Address

Operand: None

Since: 1.0 (Modified in 2.0, 2.6)

Description:

This instruction allocates space on the heap of size provided by the input value. It writes the address of the allocated space to the stack.



David Levitan 2006-02-12