CS401 Take the idea from it....for 1st question

No Comments
Calculate physical address of the following segment offset pairs. Explain each and every step for calculating the physical address.                                                                        
  1. 2C3E:0199
  2. 8000:0250
Solution:
Segment Address = Segment Register x 10.
Offset Address = Logical Address.
Physical Address = Segment address + Offset Address
 1.      2C3E:0199
Segment Address = 2C3E x 10 = 2C3E0.
Offset Address = 00199.
Physical Address = 2C3E0 + 00199 = 2C579.
 2.      8000:0250
Segment Address = 8000 x 10 = 80000.
Offset Address = 0250.

Physical Address = 80000 + 00250 = 80250. 
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment