Question: Lets say a program has 650 bytes and will be loaded into page frames of 128 bytes each , and the instruction to be used

Lets say a program has 650 bytes and will be loaded into page frames of 128 bytes each, and the instruction to be used is at byte 420, answer the following questions (this question is worth 16% of the assignment, each part is worth 8%):

a. How many pages are needed to store the entire job? Show the calculation that proves this. Then give the page numbers, assuming we start loading the program in page 0.

b. Compute the page number and exact displacement for the byte address where the instruction is stored. Assume that the job begins loading at the first page (page 0) in memory. Remember that the first byte of any page begins at the address of zero. Show the calculation and explain your result.

Lets say a program has 650 bytes and will be loaded into page frames of 128 bytes each, and the instruction to be used is at byte 420, answer the following questions (this question is worth 16% of the assignment, each part is worth 8%):

a. How many pages are needed to store the entire job? Show the calculation that proves this. Then give the page numbers, assuming we start loading the program in page 0.

b. Compute the page number and exact displacement for the byte address where the instruction is stored. Assume that the job begins loading at the first page (page 0) in memory. Remember that the first byte of any page begins at the address of zero. Show the calculation and explain your result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!