26 January, 2014

CS501 Current Midterm Paper Fall 2013 File 9



by Ɗ€vǃ£ǃșȟ Åttìtúðên Ĝǃѓ£ on December 21, 2013 at 9:55am
ASSALAM O ALAIKUM,.....
MY PPR WAS DONE OK BY THE GRACE OF ALLAH ALMIGHTY.
mcqs 70% from moazz file rather some are new 2 are from  latency and throughput.
How many types of exceptions can occur in a machine? Explain any two of them. 5marks
types of exceptions
·         Program Exceptions
·         Hardware Exceptions
·         Trace and debugging Exceptions
·         Nonmaskable Exceptions
·         Interrupts (External Exceptions)
Program Exceptions
These are exceptions raised during the process of decoding and executing the
instruction. Examples are illegal instruction, raised in response to executing an
instruction which does not belong to the instruction set. Another example would
be the privileged instruction exception.
• Hardware Exceptions
There are various kinds of hardware exceptions. An example would be of a timer
which raises an exception when it has counted down to zero.
2nd is structural RTL out ra,c2 3marks Answer:- (Page 164)
Write the structural RTL for the mov immediate instruction for the mov immediate instruction for uni-bus data path implementation Movi ra,c2 (3marks)
Answer:- (Page 164)
one is define hard reset and soft reset.2
Write approaches to achieve instruction level parallelism2.
best of luck  alls

No comments:

Post a Comment