Question: Given the following information for an assembly language program: Process code size - 3126 bytes, Page size - 1042 bytes Instruction at memory location 532:

Given the following information for an assembly language program: Process code size - 3126 bytes, Page size - 1042 bytes Instruction at memory location 532: Load 1, 2098 Instruction at memory location 1156: Add 1, 4087 Instruction at memory location 2086: Sub 1, 1052 Data at memory location 1052: 015672 Data at memory location 2098: 114321 Data at memory location 4087: 077435 (a) How many pages are needed to store the entire process code? Show calculations. (b) Compute the page number and displacement for each of the byte e byte addresses where the data is stored (recall that page numbering starts at ) (c) Are page numbers and displacements legal for this process? Explain. Given the following information for an assembly language program: Process code size - 3126 bytes, Page size - 1042 bytes Instruction at memory location 532: Load 1, 2098 Instruction at memory location 1156: Add 1, 4087 Instruction at memory location 2086: Sub 1, 1052 Data at memory location 1052: 015672 Data at memory location 2098: 114321 Data at memory location 4087: 077435 (a) How many pages are needed to store the entire process code? Show calculations. (b) Compute the page number and displacement for each of the byte e byte addresses where the data is stored (recall that page numbering starts at ) (c) Are page numbers and displacements legal for this process? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
