Segmentation Exercises

  1. Given the address space:
    Program code from 0 to 2 KB, Heap from 4 to 6 KB and stack from 14 to 16 KB
    and the following base and bound values:
Segment Base Size
Code 32K 2K
Heap 34K 2K
Stack 28K 2K

Translate the following virtual addresses into physical addresses:
  1. 00 0000 1100 10002 (20010)
  2. 01 0011 1000 10002 (500010)
  3. 11 1010 1001 10002 (1500010)