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

www.vustudents.ning.com

 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

# Advance Computer Architecture (CS501) Assignment # 01 Fall 2019

Questions No 01                                                                                                   10 marks

Suppose we have a program which contains 200 instructions of different types. We want to execute this program on a 500 MHz processor. The ratio of each type of instruction in the program as well as clocks per instruction for each type of instruction is given below:

 Instruction Type Ratio in program Clocks/Instruction (CPI) Load/Store 35% 2.5 ALU 55% 1.25 Control 10 % 3
1. Calculate the total execution time required by the processor to execute the program.
2. If CPI for ALU is decreased by 20% and CPI for Load/Store is increased by 10%, then calculate the execution time.

Questions No 02                                                                                                               10 marks

Write assembly language program for 0-address and 1-address machines to evaluate the following expression.

D = A(B+C) – 2AC/B + C2

Note: A, B, C and D are memory labels.

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

Views: 46

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

## Latest Activity

+ ! ! ! ❣ AaiMa ❣ !+ liked Hayat's blog post din tu kat jata hai
2 hours ago
2 hours ago
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Isha Chuhdary's blog post Moka
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Esha mirza's blog post Bleeding words
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Esha mirza's blog post painful moment........
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Hayat's blog post meri zindagi
2 hours ago
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Sami's blog post Sad .....
2 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ liked Ittequa Ahmed's blog post No Title
2 hours ago
2 hours ago
2 hours ago

1

2

3