What would physical memory look like if we had

Assignment Help Computer Engineering
Reference no: EM132128957

SEGMENTATION

Assume virtual memory hardware that uses segmentation, and divides the address space in two by using the top bit of the virtual address. Each segment is thus relocated independently. What we'll be drawing in this question is what physical memory looks given some different parameters. We'll also label where a particular memory reference ends up.

For all questions, assume a virtual address space of size 16 bytes and a physical memory of size 64 bytes. Thus, if we had a virtual address space placed in physical memory, it might look like this (with spaces between every 8 physical bytes):

0000FFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFF1111

In this example, the segment 0 base register is 0, segment 1 base is 64 (it grows backwards), and both length registers are 4. 0's are used to record where segment is in memory; 1's are for segment 1; F means free.

(a) What would physical memory look like if we had the following values instead? (Draw a picture below) seg0 (base): 12 seg0 (limit): 6 seg1 (base): 10 seg1 (limit): 3

(b) In your picture above, CIRCLE which byte of memory is accessed when the process generates a byte load of virtual address 4 (or DRAW AN X on the physical-memory address if the access is illegal)

(c) What would physical memory look like if we had the following values instead? (Draw a picture below) seg0 (base): 40 seg0 (limit): 4 seg1 (base): 50 seg1 (limit): 4

(d)In your picture above, CIRCLE which byte of memory is accessed when the process generates a byte load of virtual address 14 (or DRAW AN X on the physical-memory address if the access is illegal)

(e) In your picture above, CIRCLE which byte of memory is accessed when the process generates a byte load of virtual address 4 (or DRAW AN X on the physical-memory address if the access is illegal)

Reference no: EM132128957

Questions Cloud

What is the relationship between good x and good y : Based on the demand curve above, is X a normal or inferior good? Based on the demand curve above, what is the relationship between good X and good Y?
How should organizations address weight-based discrimination : The association between excess weight and higher absences, medical fees, and benefit costs is clear. What is the meaning of this relationship regarding weight.
Do you believe the apple approach of hiding permissions : Why do you feel this way and do you think there is a better way of handling it than the two extremes demonstrated in these cases?
What happens to price and unemployment : ASAD Model. Analyze the following events using the ASAD model. What happens to price, output and unemployment in the short-run, transition from the short-run.
What would physical memory look like if we had : In your picture above, CIRCLE which byte of memory is accessed when the process generates a byte load of virtual address 4.
Summarize your plan in a two to three paragraph post : Apple is about to release its latest technology. The company needs to develop a plan to communicate with key stakeholders about the release.
How you personally experience those controls in use : Pick two of them and describe how you personally experience those controls in use on personal, work, or school computer systems.
Analyze the need for an information technology management : Analyze the need for an information technology management plan for natural disasters and security breaches.
Prepare a performance evaluation video presentation : MBA641 - Strategic Project Management - Performance Evaluation Video Presentation - read a case study based on a fictional company and prepare a Performance

Reviews

Write a Review

Computer Engineering Questions & Answers

  Implementing an intrusion detection system

Your company is trying to decide whether to implement an intrusion detection system (IDS), or an intrusion prevention system (IPS).

  Types of organizational and computer architectures for

desktop virtualization is growing in popularity. use the internet and strayer library to research this technique.

  Design a paged-addressing mechanism for asc

Design a paged-addressing mechanism for ASC. Assume that the two most significant bits of the 8-bit direct address are used to select one of the four 10-bit.

  Define a class for a type called fraction

Define a class for a type called Fraction. This class is used to represent a ratio of two integers. Embed your class in a test program.

  What might have happened if the bug had not been caught

My first programming job in 1977 was to convert a set of application systems from one version of COBOL to another version of COBOL for the government of Prince Edward Island. What might have happened if this bug hadn't been caught and all gas tax r..

  Describe a use case dependency for making an account deposit

Describe (in a one to two page narrative) a use case dependency for making an account deposit. Illustrate this use case with Visio or a similar product.

  Do you believe this company can continue to grow rapidly

identify the key software applications used by the tea collection.how does the geo-mapping software help the company

  What is the absolute maximum number of inputs

Of the n# possible inputs to a given comparison-based sorting algorithm, what is absolute maximum number of inputs that could be sorted with just n comparisons?

  What are four important tactical tasks for a negotiator

What are four important tactical tasks for a negotiator in a distributive situation to consider? The response must be typed.

  Examine the raw hex bytes of the gsm messages

Within the CCCH are "paging request" messages. Explain the purpose of these messages, and provide a TMSI observed in a paging request.

  Calculate and show the mortgage payment amount

Write down the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Allow th..

  Compare the results and comment on the effect of p

For a zero-mean, unit-variance Gaussian source, design optimal nonuniform quantizers with a number of levels N = 2, 3, 4, 5, 6, 7, 8.

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