CS401 Assignment o1

Question No. 1:  Calculate the physical address for the following set of segment offset pairs. 
a) B2C0:FA12        
Solution:
Segment address * 10 + offset address
B2C0H * 10H + FA12H     
C2612H
 
b) A100:12BE    
Solution:
    
Segment address * 10 + offset address
A100H * 10H + 12BEH
A22BEH                                              

Question No. 2: Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.

a) Calculate the lower and upper ranges for Data Segment.
Solution:
For Lower
Segment address * 10H + 0000H
6FA4h *10H
6FA40H

Upper range 
Segment address * 10H + FFFFH
6FA4h * 10H
6FA40H + FFFFH
7FA3F4

b) Compute the logical address, and the physical address.   
Solution: 
Logical address
6FA4h : 238Fh
Physical address
Segment address * 10 + offset address
6FA4H * 10H + 238FH
71DCF4h

Comments

Popular posts from this blog

MGMT 627 Assignment Solution Idea

MGT501 - Human Resource Management Assignment No.1 Fall 2020

CS101 Assignment no 2