Contents    Page-10    Prev    Next    Page+10    Index   

Data Addressing

A data area is a contiguous region of storage specified by its base address and size.

An item within a data area is specified by the base address of the data area and the offset of the item from the base address.

Two kinds of data areas are arrays and records.

Note that since an item in a data area may itself be a data area, the layout of data in memory may be considered to be a ``flattened tree''. A reference to data is a sequence of steps down this tree until the desired data is reached.