next up previous contents
Next: Modules - Interface Declaration Up: Modules - Global Data Previous: Module Global Data Example

 

Visualisation of Global Storage

  figure9616
Figure 27: Visualisation of Global Storage in a Module

The diagram indicates how the module sits in the memory separated from the subroutines. Both subroutines USE the module so both have access to it which means that both can read and write to it. Placing this data in global memory space removes the need for communicating the current state of stack the via argument lists.

Return to corresponding overview page gif


next up previous contents
Next: Modules - Interface Declaration Up: Modules - Global Data Previous: Module Global Data Example

©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997
Not for commercial use.