Professional Documents
Culture Documents
CH-2 Microprocessing Interfacing ESE Microprocessor Dushyant
CH-2 Microprocessing Interfacing ESE Microprocessor Dushyant
Microprocessor
Interfacing
02
1. Three devices A, B and C are connected to an Intel (a) Direct transfer of data between memory and
8085 A microprocessor. Device A has the highest accumulator
priority and device C has the lowest priority. The (b) Direct transfer of data between memory and
correct assignment of interrupt inputs is I/O devices without the use of
(a) A uses RST 5.5, B uses RST 6.5 and C uses microprocessor
TRAP [ESE-2003] (c) Transfer of data exclusively within
(b) A uses RST 5.5, B uses RST 6.5 and C uses microprocessor registers
RST 7.5 (d) A fast transfer of data between
(c) A uses RST 7.5, B uses RST 6.5 and C uses microprocessor and I/O devices
RST 5.5 Sol. (b)
(d) A uses TRAP, B uses RST 5.5 and C uses With the help of DMA data transfer is taking place
RST 6.5 between I/O and main memory through memory
Sol. (c) but not using CPU.
Order of priorities for interrupts is
TRAP > RST 7.5 > RST 6.5 > RST 5.5 > INTR. 4. A handshake signal in a data transfer is transmitted
Since the given priority order is A, B, and C so [ESE-2003]
correct option is (c). (a) Along with the data bits
(b) Before the data transfer
2. Which one of the following is NOT a vectored (c) After the data transfer
interrupted? [ESE-2003] (d) Either along with the bits or after the data
(a) TRAP (b) INTR transfer
(c) RST 3 (d) RST 7.5 Sol. (b)
Sol. (b) Handshake signals are always transferred before
INTR is not a vectored interrupt since its address the data transfer.
does not has a fixed address.
While TRAP, RST 7.5, RST 6.5, RST 5.5 are 5. What is the total number of memory locations and
vectored interrupt having predefined addresses. input-output devices that can be addressed with a
processor having 16-bits address bus, using
memory maped I/O ? [ESE-2004]
3. A Direct Memory Access (DMA) transfer implies
[ESE-2003] (a) 64 K memory locations and 256I/O devices
(b) 2561/0 devices and 65279 memory locations
(b) Both A and R are true but R is NOT the (c) TRAP, INTR, RST 5.5, RST 6.5, RST 7.5
correct explanation of A (d) INTR, RST 5.5, RST 6.5, RST 7.5, TRAP
(c) A is true but R is false Sol. (b)
(d) A is false but R is true The order of interrupt priority is
Sol. () TRAP, RST 7.5, RST 6.5, RST 5.5, INTR
28. In mode. '0' (Zero) operation of 8255, the ports can 31. Assertion (A) : SIM instruction cannot be used to
be used as port: [ESE-2010] disable or change priority of INTR pin. [ESE-2010]
(a) A as input port only Reason (R) : INTR is a pseudo-vectored interrupt
(b) B as output port only PIN.
(a) Both A and R are true and R is the correct address in the range
explanation of A [ESE-2011]
(b) Both A and R are true but R is NOT the A15
correct explanation of A A14
A13 CS
(c) A is true but R is false A12
(d) A is false but R is true A11
In 8086 two banks are used as data bus is 16 -bits I and II both are true and I is correct explanation as
wide i.e., each bank contains one byte. in DMA data takes place between μP memory at
faster rate without intervention of CPU/μP.
55. Statement (I): READY is an output signal used to
synchronize slower peripheral. [ESE-2016] 57. In microprocessor interface, the concept of
Statement (II): HOLD is activated by an external detecting some error condition such as 'no match
signal. found' is
[ESE-2019]
(a) Both Statement (I) and Statement (II) are
individually true and Statement (II) is the (a) Syntax error (b) Semantic error
correct explanation of Statement (I). (c) Logical error (d) Error trapping
(b) Both Statement (I) and Statement (II) are Sol. ()
individually true but Statement (II) is not the
correct explanation of Statement (I)
58. The maximum number of input or output devices
(c) Statement (I) is true but Statement (II) is that can be connected to 8085 microprocessor are
false. [ESE-2019]
(d) Statement (I) is false but Statement (II) is (a) 8 (b) 16
true.
(c) 40 (d) 256
Sol. (d)
Sol. (d)
I. False as READY is input signal to μP.
t In the instruction IN 8-bit port address and OUT
II. Hold is activated by DMA controller. ∴ 8-bit port address.
True.
I/O has 8-bit value so therefore 2^8→256 devices
can be connected.
56. Statement (I): The direct memory access or DMA
mode of data transfer is the fastest among all the
59. Which one of the following is the correct
modes of data transfer. [ESE-2016]
combination of registers in DMA controller?
Statement (II): In DMA mode the device directly
[ESE-2020]
transfers data to/from memory without interference
(a) Data register, Stack pointer and Data counter
from CPU.
(b) Data register, Address register and Data
(a) Both Statement (I) and Statement (II) are
counter
individually true and Statement (II) is the
correct explanation of Statement (I). (c) Data register, Stack pointer and Address
register
(b) Both Statement (I) and Statement (II) are
individually true but Statement (II) is not the (d) Data register, Program counter and Data
correct explanation of Statement (I) counter
(c) Statement (I) is true but Statement (II) is Sol. (b)
false. Address register to store source address, count
(d) Statement (I) is false but Statement (II) is register → to hold count of no. of bytes Data
true. registers → To hold data from memory or I/O
while transferring.
Sol. (a)
Answer Key