answersLogoWhite

0

there is no a prior limit on the depth of nested recursive calls (that a recursive function may call itself any no. of times), we may need to save an arbitrary number of register values(return values of the recursive functions, that may be used latter to find the actual solution). These values must be restored in the reverse of the order in which they were saved, since in a nest of recursions the last subproblem to be entered is the first to be finished. This dictates the use of a stack, or ``last in, first out'' data structure, to save register values. We can extend the register-machine language to include a stack by adding two kinds of instructions: Values are placed on the stack using a save instruction and restored from the stack using a restore instruction. After a sequence of values has been saved on the stack, a sequence of restores will retrieve these values in reverse order.

Vishal Srivastava

MCA, LU

source : http://mitpress.mit.edu/sicp/full-text/sicp/book/node110.html

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you explain some new procedure to your coworker?

To explain a new procedure to my coworker, I would start by providing a clear overview of the procedure's purpose and its benefits. Then, I would break down the steps involved, using simple language and relevant examples to illustrate each point. I would encourage questions throughout the explanation to ensure understanding and offer to demonstrate the procedure if needed. Finally, I'd provide any written materials or resources for reference after our discussion.


What is the purpose of the procedure?

The purpose of Parliamentary Procedure is to keep a meeting running smoothly and to make sure everyone has a fair say in what is proposed to do.


What is the purpose of an action plan when implementing controls?

active control method


What is the purpose of 'A Wrinkle in Time'?

the purpose is to entertain and explain


Explain the purpose of the discriminant?

the purpose...... it yet to be known


The main purpose of is to inform or explain.?

explain info


What is the purpose of the illuminate?

briefly explain purpose of kohler illumination


What is the purpose of kohler illumination?

briefly explain purpose of kohler illumination


What is the purpose of general format and layout?

The purpose of the general format and layout is that it gives you a standard procedure.


What is the purpose of the crystal violet in the gram stain procedure?

Its the primary stain of the procedure. IT stains the Gram positive organisms


What order is a science fair prjoct go in?

Title Purpose Hypothesis Variables Materials Procedure Results-Graphs Conclusions Abstract>Purpose, Procedure,Conclusion Safety Sheet Acknowlegments


Explain the purpose of a pie graph?

because

Trending Questions
The whistle announced the trains's arrival at the station? What is a footer for carpentry? What does a aviation mechanic do? How did internal combustion engine improve the world? What is the goal of the Department of Energy's research regarding alternative fuel sources? In what order the elements of a pushdown stack are accessed? How many bytes of ram are in 4 MB? What does plumpery mean? What is mean by NBin that ball valve 150 NB? Declare a one-dimensional array 'num' of type int and a two-dimensional array 'matrix' of type float digrammatically explain those arrays? What is the block diagram of Analog to digital converter? What are the mechanical properties of photochromic plastic im looking for the malliebility ductility thermal conductivity electrical resistance and dielectric strength for an assignment? Why do the I and C switches in Chkdsk reduce the amount of time needed to run the scan? How do you change your main title font on Freewebs using CSS? What is the role of water in hydraulic press to to multiply small force into a large force? Does the Solidworks COM non-attributed add-in wizard work in Visual C plus plus 2010 Express or Visual Studio 2012 Ultimate? When is an engine so cold it cannot start? What is a logic signal sent by a transducer? For the bits stream 01001110 sketch the waveforms foreach ofthe codes oftable.Assume thatthe signal level for the preceding bit for NRZI was high The most recent preceding 1bit AMI has -ve Voltage.? Where can you find a programming manual for a Sanyo ECR 340?