Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You need to work 3 problems for address translation under: (1) segmentation, (2)

ID: 3703685 • Letter: Y

Question

You need to work 3 problems for address translation under: (1) segmentation, (2) paging, and (3) segmentation and paging In particular, your job has the following tasks: A. Allocate space for the program when it is loaded 1. Find the memory space to use 2. Create the appropriate segment or page tables B. Perform address translation during I-time (Instruction time) 1. Calculate the physical address from the virtual address under segmentation, paging, and segmentation and paging Note: Clarification on I-time. In the computer, instructions are executed in machine cycles. The machine cycle consists of I-time (fetch phase) and E-time (Execution time) or execution phase. During I-time the instruction is fetched from memory to the instruction register. During E- time the instruction is executed. Address translation is performed at the end of I-time, before the instruction is executed. I-time works with virtual addresses, whereas E-time operates on physical addresses.

Explanation / Answer

Load segment as follows:

Segment Number

Base address

Segment Size

0

26K

8K

1

50K

4K

2

66K

6K

3

88K

10K

Given Virtual address:

Seg number : 3

Displacement: 230

Segment 3 is loaded into partition with starting address 88K plus offset if 230. Thus physicall address is: 88K + 230 = 88*1024+230 bytes = 90342

Segment Number

Base address

Segment Size

0

26K

8K

1

50K

4K

2

66K

6K

3

88K

10K

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote