CS501 Fall 2011 4th Assignment
Posted on Saturday, 07 January 2012
in Fall 2011
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.
Read 111 times
CS501 Fall 2011 First Assignment
Posted on Tuesday, 08 November 2011
in Fall 2011
Write the code to implement the expression A = (B+C) * (D + E) for
- 1) 3-address instructions
- 2) 2-address instructions
- 3) 1-address instructions
- 4) 0-address instructions
Read 172 times
