The Memory System 235
Information in data sheets of processors from all
manufacturers indicate that during DMA the pro-
cessor carries on its own internal activities. In this
case, we have to read between the lines to under-
stand the reality. If the processor is without any
L1 or L2 cache (like 8086 or 80386), then for all
practical purposes no productive internal activity
of the processor is possible
This is because of the fact that, for any type
of productive activity, the processor must fetch
instructions from external memory, which cannot
be performed during the on-going DMA operation.
However, in modern processors, we nd L1 and
L2 caches within the processor. Does it mean
that the DMA operation and the processor opera-
tion would go on concurrently in these cases?
The answer is yes and no. If the execution of any
instruction demands an operand that is not avail-
able within data cache (cache miss), then further
operations of the processor must be terminated as
the main memory can not be accessed due to ongo-
ing DMA operation. The situation would remain
identical if the instruction cache is unable to sup-
ply the next executable instruction. Therefore, the
DMA operation may or may not allow the uninter-
rupted operation of the concerned processor.
REVIEW QUESTIONS
Target the Correct Option
1. The EPROMs may be distinguished from
other ICs by the
(a) circular window at the top of its package
(b) number of its pins
(c) shape of its package
(d) none of these
2. L3 cache, if any, of computers is composed of
(a) DRAM (c) either of these
(b) SRAM (d) none of these
3. Primary memory is that memory which may
be located within the
(a) processor (c) computer
(b) motherboard (d) none of these
4. The ‘instruction cache’ is a part of
(a) uni ed cache (c) L3 cache
(b) split cache (d) none of these
5. Which one of the following Intel processors
offer L3 cache?
(a) 80486 (c) Itanium
(b) Pentium 4 (d) none of these
6. TAG-RAM is available within
(a) cache directory (c) processor
(b) cache memory (d) none of these
7. In hard discs, for the purpose of storage, each
side of a platter is subdivided into several
(a) pages and lines (c) tracks and sectors
(b) bits and bytes (d) none of these
8. In optical discs, logic levels 1 and 0 are rep-
resented by
(a) lands and pits (c) dark and light
(b) tracks and sectors (d) none of these
9. The DMA procedure is initiated by
(a) peripheral device (c) processor
(b) DMA controller (d) none of these
10. During DMA operation, the DMA controller
outputs
(a) address, data and control signals
(b) address and data signals
(c) address and control signals
(d) none of these
QUICKSAND CORNER
M07_GHOS1557_01_SE_C07.indd 235M07_GHOS1557_01_SE_C07.indd 235 4/29/11 5:13 PM4/29/11 5:13 PM