Question: 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 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

1 Expert Approved Answer
Step: 1 Unlock

1 The corresponding reference string up to 10 memory references can be derived as follows Read B rea... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!