Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let's assume a 3 2 - byte memory with 2 - byte pages. The address length is 5 - bit and byte addressing is used

Let's assume a 32-byte memory with 2-byte pages. The address length is 5-bit and byte addressing is used in
the system.
(a) Fill the physical memory in Figure 4 according to the logical memory and page table. Note that logical
memory and physical memory are represented as byte arrays.
logical memory
physical memory
Figure 3: Paging example for a 32-byte memory with 2-byte pages
(b) Translate each binary logical address to binary physical address.
Logical Address: 00000(Page Number:
Logical Address: 01010(Page Number:
Logical Address: 01110(Page Number:
Logical Address: 00110(Page Number:
Logical Address: 01111(Page Number:
Page Offset: ,) Physical Address:
Page Offset: __) Physical Address:
Page Offset: ,) Physical Address:
Page Offset: , Physical Address:
Page Offset: , Physical Address:
(c) Build an inverted page table for the logical memory and physical memory. Assume that the process id of
the current process is 10.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions