CS501 - Advance Computer Architecture (Graded)
Untitled (1).jpg
View more random threads:
- ACC311 First Assignment idea solution October, fall 2012
- Eng301
- SOC101 Introduction to Sociology Assignment No 01 Solution...
- MKT501 Marketing Management Assignment No. 01 Solution &...
- CS302- Digital Logic Design Assignment # 2 May 13, 2010
- STA630 Research Methods Assignments No: 2 Solution Ideas...
- PSY405 Personality Psychology Assignment No. 01 Solution...
- MTH302 Business Mathematics & Statistics Assignment 2
- MTH202 Discrete Mathematics Assignment No.1 Solution Spring...
- idea solution IT430 - E-Commerce Assignment No.1 (FALL...
CS501 Advance Computer Architecture Close Date 18th November 2014
Question No. 1 10 Marks
Write assembly language instructions to execute the following expression on 0-address and 3-address machines.
F = A + (B × C / D) – E
Question No. 2 A compiler designer is trying to decide between two code sequences for a particular machine. The hardware designers have supplied the following facts:
Instruction Class CPI required for each class
A 2
B 3
C 2
Sponsored Links
The compiler designer intends to write two code sequences to achieve a task. Both code sequences are required the following instruction count.
Code Sequence Instruction Count for each sequence
1 A B C
10 5 8
2 6 4 9
a) Which code sequence will execute faster? Justify your answer on the basis of CPU clock cycles calculations.
What is the CPI for each
CS501 - Advance Computer Architecture (Graded)
Untitled (1).jpg
There are currently 1 users browsing this thread. (0 members and 1 guests)