Chapter 8: Intermediate Code Generation

Procedure Calls .

Example

. parameters are passed by reference

. storage is statically allocated

. use param statement as place holder for the arguments

. called procedure is passed a pointer to the first parameter

. pointers to any argument can be obtained by using proper offsets

Consider the example given in the last slide. The parameters are passed by reference and have statically allocated storage.