Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

CS501 Fall 2011 4th Assignment

Rate this item
(0 votes)
Question No 1

Consider a floppy drive having a transfer rate of 48 KB per second is attached to a 32 bit, 10MIPS CPU using an interrupt driven interface. The drive has 16-bit data bus.

Suppose that the interrupt overhead is 10 instructions. Calculate the fraction of CPU time required to service this drive when it is active.

CS501 Fall 2011 First Assignment

Rate this item
(0 votes)

Write the code to implement the expression A = (B+C) * (D + E) for

 

  1. 1) 3-address instructions
  2. 2) 2-address instructions
  3. 3) 1-address instructions
  4. 4) 0-address instructions