If a program has 471 bytes and will be loaded into page frames of 100 bytes each, and the instruction to be used is at byte 132, answer the following questions: a. How many pages are needed to store the entire job? b. Compute the page number and the exact displacement for each of the byte addresses where the data is stored. (Remember that page numbering starts at zero).

Respuesta :

Based on the number of bytes the program has and the page frames, the following are true:

  • a. 5 pages will be needed for the whole program.
  • b. 31st byte in Page 1.

Number of pages needed for the whole program

= Number of bytes / Bytes per page

= 471 / 100

= 4.71

= 5 pages

Page number and displacement of the instruction

The first page will take 100 bytes and is numbered page 0.

The second page will be Page 1.

Byte position:

= 132 - 100

= 32

This will be the 31st byte.

In conclusion, 5 pages will be needed for the program.

Find out more on byte addresses at https://brainly.com/question/17506968.

ACCESS MORE