Figure 10.10 Display modification for callers and callees with equal depth value (Qsd = Psd). Figure 10.11 Display modifications for callers with smaller depth values than the callee (Qsd < Psd>. Figure 10.12
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Display modification for callers and callees with equal depth value (Qsd = Psd)
Display modifications for callers with smaller depth values than the callee(Qsd < Psd>
Stack and display before SUB1 calls SUB4 in MAIN_4; dashed lines indicate inactive pointers
Stack and display after SUB1 calls SUB4 in program MAIN_4 (Qsd < Psd)
Display modification for callers with larger depth values that their callees (Qsd > Psd)
Block variable storage whenblocks are not treated asparameterless procedures
Stack contents fora dynamic-scoped program
One method of using shallow access to implement dynamic scoping
Stack contents for the example program MAIN_7, with a parameter that is a subprogram (SUB1 was called, but has completed its execution).