We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS401 Assignment No 01 Spring 2020 Solution & Discussion Due Date: 01-06-2020

CS401 Computer Architecture and Assembly Language Programming Assignment 1 Solution & Discussion Spring 2020


Total marks = 20

Deadline Date
June 1, 2020

 

Q 1. Calculate the effective address for the following set of values. (5)
Code Segment = 6032h
BX = 3060h
DI = 4001h
Offset = 0470h

 

Q 2. Find the physical Address, if segment address is FF01H and offset is FF02H. (7)

 

Q 3. Calculate the offset when the physical address is 003Ch and the contents of segment
register are 003Ah. (8)

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1121

.

+ 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)

Replies to This Discussion

CS401 Computer Architecture and Assembly Language Programming Assignment 1 Solution & Discussion Spring 2020


 

Solution Idea CS401:

Q 1. Calculate the effective address for the following set of values. (5)
Code Segment = 6032h
BX = 3060h
DI = 4001h
Offset = 0470h

Solution:

CS = 5032h
BX = 3060h
DI = 4001h
Offset = 0470h
Effective Address = ?
Here memory access under consideration is [CS:BX+DI+Offset]
Then the Effective address = BX+DI+Offset
= 3060h + 4001h + 0470h
Efffecctive Address = 74D1h

 

 

Q 2. Find the physical Address, if segment address is FF01H and offset is FF02H. (7)

Solution:

Segment Address = FF01h
Offset Address = FF02h
Physical Address = ?
Physical Address = (Segment Address * 10) + Offset Address
= (FF01h * 10) + FF02h
= FF010h + FF02h
Physical Address = 10EF12h

 

Q 3. Calculate the offset when the physical address is 003Ch and the contents of segment

Solution:

register are 003Ah. (8)
Physical Address = 003Ch
Segment Register = 003Ah
Offset = ?
Physical Address = Segment Register + Offset Address
Offset = Physical Address - Segment Register
Offset = 003Ch – 003Ah
Offset = 0002h

in question no 1,

why the value of code segment is change.

please explain...?

-CS401 ASSIGNMENT NO.1 SOLUTION SPRING 2020-

Download the file, Click on the below link

https://drive.google.com/file/d/1c813uH-uuhrjmFJV3_Ql9qKyIgLwLVUG/view

CS401_Assignment_No_01_Solution_Spring_2020

Download the file, Click on the below link

CS401_Assignment_No_01_Solution_Spring_2020

#CS401 #CS401AssignmentNo1Spring2020
CS401 Assignment No 1 Solution Spring 2020 | Virtual University |

CS401 Assignment No 1 Solution Spring 2020 Virtual University of Pakistan

Complete Guidance of CS401 Assignment No 1 Solution Spring 2020 Virtual University of Pakistan
#CS401
#CS401AssignmentNo1Spring2020
CS401 SPRING 2020
cs401 assignment 1 2020
Virtual University of Pakistan CS401 Assignment No 1 Spring 2020
VU of PAkistan
Vu.edu.pk

RSS

Latest Activity

+ ! ! ! ! ! Sofia(VU ki ex) :{ updated their profile
1 hour ago
shahab al hassan posted a discussion
1 hour ago
shahab al hassan posted a status
"MCQs GRAND QUIZ (MID TERM) ISL 201"
1 hour ago
+!CS619!+ replied to +!CS619!+'s discussion MGT101 Short Notes VU Video Lectures 1 to 45 in the group MGT101 Financial Accounting
1 hour ago
+!CS619!+ added a discussion to the group MGT101 Financial Accounting
1 hour ago
Uswa and Laila kabeer are now friends
4 hours ago
°`·αғғαřοžУ ε ЙооЯ·´° ( آفروز ") and Nouman Butt are now friends
7 hours ago
Mushk replied to Mushk's discussion .. * * TEHREER KR MUJHY * * ..
8 hours ago
heavy updated their profile
9 hours ago
Awais posted discussions
9 hours ago
Alishba khan commented on Alishba khan's blog post "EGO"
9 hours ago
Profile IconShabbir Ahmad, Affan Gilani and Mishi joined Virtual University of Pakistan
10 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.