We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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


Advance Computer Architecture (CS501)

Assignment#01 (GRADED)

  Total marks = 20

                                                                                       Deadline Date = 16-May-2016

 

Please carefully read the following instructions before attempting the assignment.

Assignment Guidelines:

It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.

 

1)      You should consult recommended books to clarify your concepts as handouts are not sufficient.

2)      You are supposed to submit your assignment in .doc or docx format. Any other formats like scan images, PDF, Zip, rar, bmp etc will not be accepted.

3)      You are advised to upload your assignment at least two days before due date.

Important Note: 

Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.

For any query please contact: CS501@vu.edu.pk

 

The objective of this assignment is to assess understanding of,

  • SRC assembly language program
  • SRC machine language program
  • Memory Map for the SRC program

 

 

 

 

Question:

 

Part 1)

 

Write an SRC assembly language program to evaluate the following expression:

 

a = 128(b+c) + 16(d-33)

 

Note: Keep in mind that your code should not change the source operands and SRC does not have a multiply instruction.

 

Part 2) 

You are required to develop a memory map for the above program (part 1) by using the following scenario:

.ORG 400 ; start the next line at address 400

b: .DW 1 ; reserve one word for the label b in the memory

c: .DW 1 ; reserve a word for c, this will be at address 404

d: .DW 1 ; reserve a word for d, will be at address 408

a: .DW 1 ; reserve one word for the result

.ORG 500 ; start the code at address 500

 

 

 

 

 

 

Good Luck

 


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


Views: 4486

Attachments:

Replies to This Discussion

Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

Share your best ideas to have it finished.... it is the honor to feed others from your best knowledge and efforts. Thanks

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Just to give u idea of question no.1

a = 128(b+c) + 16(d-33)

ld R1, d
sub R2, R1, 33 ; R2 contains (d-33)
shl R3, R2,4 ;R3 contains 16(d-33) LHS

ld R4, b
ld R5,c

add R6, R4, R5 ; R6 contains (b +c)
shl R7, R6, 11.32 ;R7 contains 127(b+c)

ld R8,a
add R8, R3, R7

Bhai krna kiYaa hai is assignment kaa kuxh smj nai lag rHi....

thanksss

thanks

discuss kro ,,,ya last date ka wait kr rhay sb ??

koi to sol. de dooo

give any solution

128 ko bitwise shift kr k muultiply ni ho rha bs ...es ka socho sb

RSS

Latest Activity

Mifa Fadel liked +M.Tariq Malik's discussion SOC101 Introduction to Sociology Assignment 01 Fall 2020 Solution / Discussion
1 hour ago
shifa arshad added a discussion to the group CS605 Software Engineering-II
4 hours ago
shifa arshad joined +M.Tariq Malik's group
4 hours ago
Profile Iconиαвєєℓ αнмє∂ and Ali Fahad joined +M.Tariq Malik's group
5 hours ago
shifa arshad replied to +M.Tariq Malik's discussion MGT502 Organizational Behavior GDB No 01 Fall 2020 Solution / Discussion in the group MGT502 Organizational Behavior
7 hours ago
shifa arshad joined +M.Tariq Malik's group
7 hours ago
+ !! SARAH replied to Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
7 hours ago
+ ᴄᴏғғᴇᴇ updated their profile
7 hours ago
Rizwan Mushtaq joined +M.Tariq Malik's group
8 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
8 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
8 hours ago
Arooj Shahid liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
8 hours ago
Arooj Shahid liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
8 hours ago
Arooj Shahid liked Omar's discussion Dua
8 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
9 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
9 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT201 Financial Management GDB No 01 Fall 2020 Solution / Discussion in the group MGT201 Financial Management
9 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT201 Financial Management GDB No 01 Fall 2020 Solution / Discussion in the group MGT201 Financial Management
9 hours ago
Profile IconSaba Shahzadi, waqar, Hammad Syed and 12 more joined Virtual University of Pakistan
9 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG001 Elementary English GDB No 01 Fall 2020 Solution / Discussion Last Date: 04-12-2020 in the group ENG001 Elementary English
9 hours ago

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

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

.