Question
Given the following information for an assembly language program: Job size = 3126 bytes Page size = 1024 bytes Instruction at memory location 532: Load
Given the following information for an assembly language program: Job size = 3126 bytes Page size = 1024 bytes Instruction at memory location 532: Load 1, 2098 Instruction at memory location 1156: Add 1, 2087 Instruction at memory location 2086: Sub 1, 1052 Data at memory location 1052: 015672 Data at memory location 2098: 114321 Data at memory location 2087: 077435 a. How many pages are needed to store the entire job? b. Compute the page number and the displacement for each of the byte addresses where the data is stored. c. Determine whether the page number and displacements are legal for this job. d. Explain why the page number and/or displacements may not be legal for this job. e. Indicate what action the operating system might take when a page number or displacement is not legal.
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