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.

CS501 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019

Questions No 01             10 marksQuestions No 01             10 marksSuppose 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  Calculate the total execution time required by the processor to execute the program.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 marksWrite assembly language program for 0-address and 1-address machines to evaluate the following expression.D = A(B+C) – 2AC/B + C2Note: A, B, C and D are memory labels.

Here is Assignment file Attached.....!

+ 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: 1175

.

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

Attachments:

Replies to This Discussion

taimoor hassan  gud keep it up . thanks for sharing 

Have no clue what it s all about

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

ZERO ADRESS

PUSH A=TOP OF STACK

PUSH B= TOP OF STACK

PUSH C =TOP OF STACK

ADD TOP=(B+C)

MUL TOP=A(B+C)……………….A(B+C)

ADD TOP= A+A…………………………….2A

MUL TOP=2A*C………………………... 2AC

MUL TOP=C*C………………...C2 C SQUARE

ADD TOP= B+(C*C)

DIV TOP=2AC/B+(C*C)

SUB TOP=(A(B+C) – 2AC ) )

DIV TOP=(A(B+C) – 2AC ) ) /B+(C*C)

POP

D

M[D] = TOP

A:

B:

C:

CS501 Assignment#01 Fall 2019 one more solution

link below

CS501-Assignment-1-Solution-Fall-2019

RSS

Latest Activity

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

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

.