AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
R0 =     0
R1 =     pointer to base of heap
R2 =     number of anchors to allocate, or 0 for default (currently 256)

Initialises heap. R1 points to the base of the heap - it will grow upwards from here. R2 specifies the numbers of anchors to allocate - this is effectively the maximum number of blocks you may have allocated at any one time. Each anchor takes 4 bytes. Note that R1 is rounded up to the nearest multiple of 8 plus 4 (ie. 8N+4).

[sh-index] Back to list of manuals