recategorized
5,507 views
3 votes
3 votes

A DMA controller transfers 32-bit words to memory using cycle Stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average rate of one million instructions per second. By how much will the CPU be slowed down because of the DMA transfer?

  1. 0.06%
  2. 0.12%
  3. 1.2%
  4. 2.5%
recategorized

1 Answer

6 votes
6 votes
1 character=1 byte

32 bit word= 4byte

4800 bytes in 1 sec

so for 1 byte  it takes 1/4800 sec

so for 4 byte word it takes  1/1200 sec

so 1200 words are transfered in 1 sec through cycle stealing

and given 1 million instructions are fetching and executing in 1 sec out of which 1200 words are executing through cycle stealing so

%of slow down or cycle wasted in dma transfer = (1200/1000000)*100

=0.12%

option b)
Answer:

Related questions

3 votes
3 votes
4 answers
2
go_editor asked Aug 9, 2016
8,652 views
What will be the output at $\text{PORT1 }$if the following program is executed?MVI B, 82H MOV A, B MOV C, A MVI D, 37H OUT PORT1 HLT$37H$$82H$$B9H$$00H$
1 votes
1 votes
3 answers
4