in CO and Architecture
181 views
2 votes
2 votes

 Consider the following possibilities for saving the return address of a subroutine:

 

(a) In a processor register

 

(b) In a memory location associated with the call, so that a different location is used when the subroutine is called from different places

 

(c) On a stack Which of these possibilities supports subroutine nesting and which supports subroutine recursion (that is, a subroutine that calls itself)?

in CO and Architecture
181 views

Please log in or register to answer this question.

Related questions