Contents    Page-10    Prev    Next    Page+10    Index   

Storage Allocation

Allocation of storage is done as an offset to a base address, which is associated with a block of storage. Assignment of storage locations is done sequentially by a simple algorithm:

In our compiler, the next variable for allocating variables is blockoffs[blocknumber].