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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started