A computer system provides instructions with length 4 bytes each, and uses a page size of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
1 The corresponding reference string up to 10 memory references can be derived as follows Read B rea... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
15-43. Disc A in Figure P15-43 (IC = 8 kg m2), while rotating at 100 rpm, is lowered onto disc B (IC = 10.5 kg m2), causing the latter to rotate from rest. Assume no slipping and determine the...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
A Ltd acquired a 60% shareholding interest in B Ltd in 20x4. B Ltd acquired a 30% shareholding interest in C Ltd in 20x5. A Ltd acquired a 30% shareholding interest in C Ltd in 20x6. For the year...
-
Your examination of the records of Northland Co. shows the company collected $136,200 cash from customers and paid $108,700 cash for operating costs in 2014. If Northland followed the accrual basis...
-
The unadjusted trial balance and income statement amounts form the December 31 adjusted trial balance of Winwood Production Company follow. Requireement 1. Journalize the adjusting and closing...
-
Epic Systems is a Wisconsin health care software company. In 2014, Epic introduced a company policy that required employees to use individual arbitration in any disputes. Jacob Lewis, an Epic...
-
Wiebe Trucking. Inc. is planning a new warehouse to serve the west. Denver, Santa Fe, and Salt Lake City are under consideration. For each location, annual fixed costs (rent, equipment. and...
-
12. Your calculations show that if the wrong link is shared to a potential Democratic voter, there is a strong chance it could result in them changing their vote to Independent or Republican. If you...
-
LS is a C-corporation based in California. With approximately 460,000 storage units of various sizes throughout the United States, LS owns approximately 10% of the U.S. self-storage market and...
-
Suppose someones willingness to pay for a good is $10 and their reference point is $20. If the good is $13 will they buy it? What does this tell us about sales and bargain buys?
-
If the semi-elasticity between x and y is -0.25, what does it mean? A. When x decreases by 2 units, y increases by 0.5 unit B. When x decreases by 1%, y increases by 0.25 unit C. When x increases by...
-
Amazon acquired Whole Foods Market. How would you evaluate the impact of TVM on this transaction?
-
Analyze these two commercials using IMC plan (marketing ) . Compare and Contrast both . what are the objectives and target market issues? Pepsi superbowl , 2007 Britney Spears featuring Bob Dole and...
-
Note that you must answer both parts (a) and (b) of this question. Show all formulae and calculations. Round to 2 decimal places. (a) Calculate the Price / Earnings ratio of A Co; B Co and C Co. Use...
-
Write a short memorandum in which you first briefly summarize the facts and holding (majority opinion) in Meinhard v. Salmon,
-
Making use of the tables of atomic masses, find the velocity with which the products of the reaction B10 (n, ) Li7 come apart; the reaction proceeds via interaction of very slow neutrons with...
-
Show that the circuit labeled "check for zero output" in Fig. 8-8 is an 8-bit NOR gate. Fig. 8-8 V N S C C7 F Check for zero output 8-bit ALU F-Fo 8 Output F B 8
-
Convert the following decimal numbers to the bases indicated. a. 7562 to octal b. 1938 to hexadecimal c. 175 to binary
-
It is necessary to design a pipeline for a fixed-point multiplier that multiplies two 8-bit binary integers. Each segment consists of a number of AND gates and a binary adder similar to an array...
-
Answer the following questions: 1. Name at least five industries that might be affected by weather. 2. Is it appropriate for the forensic accountant/fraud examiner to examine the effect of weather?...
-
Discuss why collusive frauds, especially when perpetrated among related parties, is particularly difficult to detect?
-
In what year was the original company formed?
Study smarter with the SolutionInn App