How deep can the procedure calls go before registers

Assignment Help Operating System
Reference no: EM13690922

Question: Suppose that a RISC machine uses 5 register windows.

Part 1) How deep can the procedure calls go before registers must be saved in memory? (That is, what is the maximum number of "active" procedure calls that can be made before we need to save any registers in memory?)

Part 2) Suppose two more calls are made after the maximum value from part A) is reached. How many register windows must be saved to memory as a result?

Part 3) Now suppose that the most recently called procedure returns. Explain what occurs.

Part 4) Now suppose one more procedure is called. How many register windows need to be stored in memory?

Explain each and every part in depth with examples.

Reference no: EM13690922

Questions Cloud

Categorize the efficiency in terms of the variable : Show in milliseconds the amount of time this construct would require to execute if n were 1000 - Consider the following nested loop construct
Implement function types that takes no input : Implement function types that takes no input, declares 3 variables of type char, 3 of type short, 3 of type int, and 3 of type double.
How to draw a figure of an http get packet : How to draw a figure of an HTTP GET packet that shows the position and size in bytes of the TCP, IP and Ethernet protocol headers.
Write a matlab script called estimate_e : How does your actual accuracy compare to the relative tolerance you chose - Can you provide the answer as soon as possible and use basic MATLAB concepts to make this program?
How deep can the procedure calls go before registers : How deep can the procedure calls go before registers must be saved in memory? (That is, what is the maximum number of "active" procedure calls that can be made before we need to save any registers in memory?)
Implement a program using function for a defined task : Implement a program using function for a defined task. Initial data is read from a file and added from keyboard. Program has to output resulting and initial data.
Define the sums of every even column of 2d array : Define the sums of every even column of 2D array in C language - Prepare this program in c language. Show all your work.
How to use wxpython instead of matplotlib : How to use wxpython instead of matplotlib and
Implement a stack adt by writing a class : Instantiate the Stack class in the main function and provide a user loop and a menu so that all the Stack class member-functions, push, pop, etc., are available so that the user can thoroughly exercise the member-functions of the Stack class.

Reviews

Write a Review

Operating System Questions & Answers

  Describe how to prevent race condition from occurring

Function and wife calls deposit (). Explain how a race condition is possible and what might be done to prevent race condition from occurring.

  Automatic diagnostic system

Sommerville recommended that objects manipulated through users should be drawn from their own domain rather that an computer domain.

  A lock variable not a good solution for mutual exclusion

why is busy waiting on a lock variable not a good solution for mutual exclusion?

  Write a dos-like shell on top of the bourne shell

Write a DOS-like shell on top of the Bourne shell to satisfy the DOS users. Your program is invoked by and the familiar DOS prompt is displayed which shows the path of the current working directory.

  Computer privacy related question

One of the main concerns with the expanding influence of information technology is issue of personal privacy. As more and more individuals and businesses are using computers to transact business and store data the protection of individual privacy is ..

  Compare three mobile platforms

You have just been given an assignment to compare three mobile platforms for the following project. Orion is an online service company that enables member subscribers to conduct their own online surveys. Orion has decided to extend this service

  What instructions would you give people in a group session

What instructions would you give people in a group session about how to get their computers to look standardized?2. What policy would you suggest for what to put on the screen so it does not offend anyone?

  Time consuming phase of the data warehousing project

Proper design and implementation of the ETL process is crucial to a BI project. ETL is considered the most time consuming phase of the Data Warehousing project. Therefore, anything that might go wrong with this process will significantly affect the s..

  Discuss technology related ethical issue

Discuss and explain a technology related ethical issue. Determine the issue and its possible outcomes? How can the issue be resolved?

  Is operating system reliability and protection enhanced

Provide the design and justification for your mechanism that supports process dispatching and  Is operating system reliability and protection enhanced with the microkernel approach to system design? Provide detailed support for your answer includi..

  Question about about telecommunications

Think about a simple telephone network consisting of two end offices and one intermediate switch with a 1-MHz full-duplex trunk in each end office and the intermediate switch.

  Question 1a process is a program under execution and as it

question 1a process is a program under execution and as it executes it changes state. the state of a process is defined

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd