Interfacing and Peripheral Devices · Microprocessors and Computer Organization
9 questions · asked in 9 of 26 years (2001–2026)
MCQ 8 · NAT 11-mark 7 · 2-mark 2
2001Questions per year2026
Questions 6–9 of 9
An 8255 chip is interfaced to an 8085 microprocessor system as an I/O mapped
I/O as show in the figure. The address lines of the 8085 are used
by the 8255 chip to decode internally its thee ports and the Control register.
The address lines as well as the signal are used for address
decoding. The range of addresses for which the 8255 chip would get selected is
Answer: (C)
Since is not used in the decoding, it can be either 0 or 1.
The NAND gate output is 0 only when
So the address range is:
The NAND gate output is 0 only when
So the address range is:
An I/O peripheral device shown in Fig. (b) below is to be interfaced to an 8085
microprocessor. To select the I/O device in the I/O address range D4H - D7H,
its chip-select () should be connected to the output of the decoder shown in figure (a)
below :
Answer: (B)
The I/O range D4H to D7H in binary is , so .
The AND gate has inputs . For D4H to D7H, , so and the decoder is selected for this whole range.
The decoder inputs are (MSB), and (LSB). Here , so output 5 is the one that goes active. go to the peripheral and take all four values 00 to 11 within the range.
So must be connected to output 5.
Answer: (B)
The AND gate has inputs . For D4H to D7H, , so and the decoder is selected for this whole range.
The decoder inputs are (MSB), and (LSB). Here , so output 5 is the one that goes active. go to the peripheral and take all four values 00 to 11 within the range.
So must be connected to output 5.
Answer: (B)
What memory address range is NOT represents by chip # 1 and chip # 2 in
the figure? in this figure are the address lines and CS means chip select.
Answer: (D)
Each chip has 256 bytes, so it uses to inside the chip. to are not used, so they can be anything. Only decide which chip is selected.
Chip 1: the gate output is , so it is selected when .
Chip 2: the gate output is , so it is selected when .
Now check the high byte of each option. are its two lowest bits:
(A) 0100 to 02FF: 01 gives (chip 1) and 02 gives 10 (chip 2).
(B) 1500 to 16FF: 15 gives 01 (chip 1) and 16 gives 10 (chip 2).
(C) F900 to FAFF: F9 gives 01 (chip 1) and FA gives 10 (chip 2).
(D) F800 to F9FF: F8 gives , which selects neither chip. So F800 to F8FF is not represented by chip 1 or chip 2.
Answer: (D)
Chip 1: the gate output is , so it is selected when .
Chip 2: the gate output is , so it is selected when .
Now check the high byte of each option. are its two lowest bits:
(A) 0100 to 02FF: 01 gives (chip 1) and 02 gives 10 (chip 2).
(B) 1500 to 16FF: 15 gives 01 (chip 1) and 16 gives 10 (chip 2).
(C) F900 to FAFF: F9 gives 01 (chip 1) and FA gives 10 (chip 2).
(D) F800 to F9FF: F8 gives , which selects neither chip. So F800 to F8FF is not represented by chip 1 or chip 2.
Answer: (D)
An 8085 microprocessor based system uses a 4K x 8-bit RAM whose starting address is AA00. The address of the last byte in this RAM is
Answer: (C)
A 4K × 8 RAM has bytes, which need 12 address lines.
Last address = start address + size − 1 = AA00H + 0FFFH.
In binary: 1010 1010 0000 0000 + 0000 1111 1111 1111 = 1011 1001 1111 1111. The nibbles are 1011 = B, 1001 = 9, 1111 = F, 1111 = F, so the last address is B9FFH.
(A) 0FFFH is only the size minus 1 and (D) BA00H is the first address after the RAM.
Answer: (C)
Last address = start address + size − 1 = AA00H + 0FFFH.
In binary: 1010 1010 0000 0000 + 0000 1111 1111 1111 = 1011 1001 1111 1111. The nibbles are 1011 = B, 1001 = 9, 1111 = F, 1111 = F, so the last address is B9FFH.
(A) 0FFFH is only the size minus 1 and (D) BA00H is the first address after the RAM.
Answer: (C)
Keep practising
Topics in Microprocessors and Computer Organization
Basics of 8085 MicroprocessorInstructions of 8085 MicroprocessorMicroprocessor 8085 ProgrammingMicroprocessor 8085 Interrupts
Interfacing and Peripheral DevicesYou are here