Consider the following possibilities for saving the return address of a subroutine: (a) In a processor register

Question:

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)?

LO1

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Organization

ISBN: 9780072320862

5th Edition

Authors: V Carl Hamacher, Carl Hamacher, Zvonko G Vranesic, Safwat G Zaky

Question Posted: