Given a 16bit address and a page size of 1K a what would be

Given a 16-bit address and a page size of 1K, (a) what would be the maximum number of pages that a program could consist of? (b) What would the relative address of 1502 correspond to in bits? (c) What page and what offset would 1502 correspond to?

Solution

Answer:

Given a 16-bit address and a page size of 1K, (a) what would be the maximum number of pages that a program could consist of? (b) What would the relative address of 1502 correspond to in bits? (c) What page and what offset would 1502 correspond to?

Answer :

(a) what would be the maximum number of pages that a program could consist of?

Answer :

1k=1024bytes

2^6=64 pages.

The program consists of a maximum of 2^6=64 pages.

(b) What would the relative address of 1502 correspond to in bits?

Answer :

10bits

The relative address 1502 in binary form 0000010111011110

The relative address of 1502 correspond to 10 bits.

(c) What page and what offset would 1502 correspond to?

Answer :

The relative address 1502 corresponds page 1 and 478 offset.

page=1 offset=478

Given a 16-bit address and a page size of 1K, (a) what would be the maximum number of pages that a program could consist of? (b) What would the relative address

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site