CS401 Assignment 1 spring 2013
Calculate physical address for the following segment-offset pairs:
5FD1: 111E
91EF: F1F1
Briefly explain each step.
Ans:-
Segment Address = Segment Register x 10.
Offset Address = Logical Address.
Physical Address = Segment address + Offset Address
A) 5FD1: 111E
Segment Address = 5FD1 x 10 = 5FD10
Offset Address = 111E
Physical Address = 5FD10 + 111E =61E2E
B) 91EF: F1F1
Segment Address = 91EF x 10 = 91EF0
Offset Address = F1F1
Physical Address = 91EF0 + F1F1 = A2201
1st question:
5FD1: 111E
ANS: 5FD10 + 0111E = 60E2E
91EF: F1F1
91EF0 +0F1F1 =A10E1
5FD1: 111E
91EF: F1F1
Briefly explain each step.
Ans:-
Segment Address = Segment Register x 10.
Offset Address = Logical Address.
Physical Address = Segment address + Offset Address
A) 5FD1: 111E
Segment Address = 5FD1 x 10 = 5FD10
Offset Address = 111E
Physical Address = 5FD10 + 111E =61E2E
B) 91EF: F1F1
Segment Address = 91EF x 10 = 91EF0
Offset Address = F1F1
Physical Address = 91EF0 + F1F1 = A2201
1st question:
5FD1: 111E
ANS: 5FD10 + 0111E = 60E2E
91EF: F1F1
91EF0 +0F1F1 =A10E1
0 comments
Post a Comment