Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A computer system provides instructions with length 4 bytes each, and uses a page size of 1K bytes. Assume the following nonsense program. ORG

 



A computer system provides instructions with length 4 bytes each, and uses a page size of 1K bytes. Assume the following nonsense program. ORG READ LOOP MOVE SUB A B BLT ***** STOP ORG DS ... ORG DS *** END 2040 B REGA, A REGA, B LOOP 2200 2500 5200 1 ; Load this into the address 2040 ; Read the content of B ; Move A to Register A ; Subtract the content of ; Register A from B ; If less then go to LOOP ; Load this into the address 2200 ; Define 2500 bytes ; Load this into the address 5200 ; Define 1 byte (1) (10 Points) Derive the corresponding reference string up to 10 memory references. (2) (15 Points) From the reference string above, determine the number of page faults generated using FIFO and LRU. Assume that all frames are initially empty and the number of physical frames is 2.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

1 The corresponding reference string up to 10 memory references can be derived as follows Read B rea... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer System Architecture

Authors: M. Morris Mano

3rd Edition

0131755633, 978-0131755635

More Books

Students also viewed these Programming questions

Question

Explain how humanistic therapists use the technique of reflection.

Answered: 1 week ago