Important: The information in this document is obsolete and should not be used for new development.
Parameter Deallocation
In the CFM-68K runtime environment, responsibility for removing items from the stack depends on the function type.
- In a fixed-argument type routine, the called routine deallocates (that is, pops from the stack) the return address and all the passed parameters before, or as part of, its return. The calling routine does not need to do any cleanup.
- If the called routine is a variable-argument type, it only pops the return address before returning. The calling routine must then deallocate all the parameters it pushed onto the stack.