100 likes | 258 Views
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
E N D
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 Stack and display before SUB1 calls SUB4 in MAIN_4; dashed lines indicate inactive pointers
Figure 10.13 Stack and display after SUB1 calls SUB4 in program MAIN_4 (Qsd < Psd)
Figure 10.14 Display modification for callers with larger depth values that their callees (Qsd > Psd)
Figure 10.15 Block variable storage whenblocks are not treated asparameterless procedures
Figure 10.16 Stack contents fora dynamic-scoped program
Figure 10.17 One method of using shallow access to implement dynamic scoping
Figure 10.18 Stack contents for the example program MAIN_7, with a parameter that is a subprogram (SUB1 was called, but has completed its execution).