Question: 1. In class, the concept was discussed that the return address must be saved or preserved when a subroutine is called (subroutines execute code for

 1. In class, the concept was discussed that the return address

1. In class, the concept was discussed that the return address must be saved or preserved when a subroutine is called (subroutines execute code for a function or procedure, for example). Two different ways of preserving/saving this return address were discussed. First, name the two different ways. Next, explain the disadvantage of one of the ways which was described in class; also explain the kind of situation where this disadvantage occurs. a. Two ways of saving the return address (describe each briefly): b. Disadvantage of one of the two ways of saving the return address (which of the two ways has this disadvantage?), and the circumstance in which this disadvantage occurs: c. Finally, how does the other way of saving the return address overcome the disadvantage described above? 1. In class, the concept was discussed that the return address must be saved or preserved when a subroutine is called (subroutines execute code for a function or procedure, for example). Two different ways of preserving/saving this return address were discussed. First, name the two different ways. Next, explain the disadvantage of one of the ways which was described in class; also explain the kind of situation where this disadvantage occurs. a. Two ways of saving the return address (describe each briefly): b. Disadvantage of one of the two ways of saving the return address (which of the two ways has this disadvantage?), and the circumstance in which this disadvantage occurs: c. Finally, how does the other way of saving the return address overcome the disadvantage described above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!