+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
CS401 Assignment 01 Fall 2020 Solution / Discussion
Tags:
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)Share the Assignment Questions & Discuss Here....
CS401_Assignment_No_01_Solution_Fall_2020
Click on the below link
***********
CS401 Assignment No.1 2020 Solution
Question No. 1: Calculate the physical address for the following set of segment offset pairs.
B2C0:FA12
Solution:
Segment address * 10 + offset address
B2C0H * 10H + FA12H
C2612H
A100:12BE
Solution:
Segment address * 10 + offset address
A100H * 10H + 12BEH
A22BEH
Question No. 2: Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.
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
Compute the logical address, and the physical address.
Solution:
Logical address
6FA4h : 238Fh
Physical address
Segment address * 10 + offset address
6FA4H * 10H + 238FH
71DCF4h
***********
Computer Architecture and Assembly Language Programming (CS401) Assignment # 01 |
Total marks = 20 Deadline Date November 30, 2020 |
|
Please carefully read the following instructions before attempting assignment. RULES FOR MARKING It should be clear that your assignment would not get any credit if:
You should concern the recommended books to clarify your concepts as handouts are not sufficient. You are supposed to submit your assignment in .doc or docx format. Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted. Lectures covered: 1-6 Topics covered: Segmented Memory Model and Addressing Modes |
||
NOTE No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date. If you find any mistake or confusion in the assignment (Question statement(s)), please contact your instructor before the deadline. After the deadline, no queries will be entertained in this regard. For any query, feel free to email at cs401@vu.edu.pk |
Q 1. Calculate the physical address for the following set of segment offset pairs.
Note: Write all the intermediate steps in detail. Marks (10)
Q 2. Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.
*******
CS401 Assignment 1 Solution:
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
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post