SLIDE 10 10
Intra Intra-
program Flow of control
_________________________ _________________________ _________________________ ____call procA________ _________________________ _________________________ _________________________ _________________________ _________________________
4000
_________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________
5000
_________________________ _________________________ _________________________ _________________________ ____call procB________ _________________________ _________________________ _________________________ _________________________ _________________________ ____call procB________ _________________________ _________________________ _________________________ _________________________ _________________________
4400 4500 4650 4160 4161 4161 4501 4161 4161 4651
Evolving Stack State
after call procA after 1st call procB after 2nd call procB after return from procB
return addresses
Intra Intra-
program Flow of control
_________________________ _________________________ _________________________ ____call procA________ _________________________ _________________________ _________________________ _________________________ _________________________
4000
_________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________
5000
_________________________ _________________________ _________________________ _________________________ ____call procB________ _________________________ _________________________ _________________________ _________________________ _________________________ ____call procB________ _________________________ _________________________ _________________________ _________________________ _________________________
4400 4500 4650 4160 4161 4161 4651
Evolving Stack State
after 2nd call procB after return from procB after return from procA