In 8255 programmable peripheral interface device, if the port A and port B are to be set in a hand shake mode along with port C, what are the bits in the 8 bit control word to be set as 0 1 0.$D_7$ $D_6$ $D_5$ $D_4$ $D_3$ $D_2$ $D_1$ $D_0$
D6, D5 and D2
This question was cancelled by UGC. The official answer key marks it with an asterisk, whose footnote reads “* DENOTES MARKS GIVEN TO ALL CANDIDATES” — every candidate was awarded the two marks whatever they marked. The discussion below therefore gives the best-supported reading of the item rather than a uniquely correct option.
Handshake mode is Mode 1, and the mode of each group is selected by exactly three bits of the control word — D6 and D5 for Group A, D2 for Group B. Those are the bits the question is asking about, so the answer is option 1.
The I/O-mode control word, bit by bit :
| Bit | Meaning | Value here |
|---|---|---|
| D7 | 1 = I/O mode set flag | 1 |
| D6 D5 | Group A mode: 00 = 0, 01 = 1, 1x = 2 | 0 1 |
| D4 | Port A direction | — |
| D3 | Port C upper direction | — |
| D2 | Group B mode: 0 = 0, 1 = 1 | 0 → 1 for handshake |
| D1 | Port B direction | — |
| D0 | Port C lower direction | — |
The pattern "0 1 0" in the question is the sequence D6 D5 D2 read in order, and the three positions it occupies are exactly the mode-select positions. Note the asymmetry the table makes plain: Group A gets two bits because it supports three modes, whereas Group B gets one bit because it supports only Mode 0 and Mode 1 — Mode 2, the bidirectional mode, is available on Port A alone.
What Mode 1 actually does. Ports A and B become 8-bit handshaken ports, and Port C is commandeered to carry the handshake signals: three lines for each of A and B, leaving just two of its eight bits free for ordinary I/O. That is why the question phrases it as "along with port C" — setting both groups to Mode 1 consumes six of Port C's lines for \(\overline{STB},\ IBF,\ INTR\) on input, or \(\overline{OBF},\ \overline{ACK},\ INTR\) on output.
Why handshaking is needed at all : it lets a slow peripheral tell the processor when data is ready or has been taken, replacing wasteful polling with an interrupt. Mode 0 offers no such signals — it is simple latched I/O with no status lines whatever.
The answer is flagged because the printed wording is compressed and the bit ordering has to be inferred; but D6, D5 and D2 are unambiguously the mode-selection bits.
Hence, the bits are D6, D5 and D2.
The number system for the machine code of the microprocessor 8085 is
Which of the options in a multipurpose instruction used to implement the interrupt of 8085 and serial data input ?
Both 8155 and 8255 programmable peripheral interface ICs have the following common features :
(i) Programmable I/Os
(ii) Either port A or Port B can be set as either input or output ports.
(iii) One 14-bit down counter
(iv) AD0 – AD7 are multiplexed address/datalines.
Each instruction in an assembly program has the following fields :
(i) Lable field
(ii) Operand field
(iii) Comment field
(iv) Mnemonic field
Please write the proper sequence of fields :
The mnemonic of 8085 processor indicate :
| List – I | List – II |
| a. RLC | i. Rotate Accumulator Right through carry |
| b. RRC | ii. Rotate Accumulator Left through carry |
| c. RAR | iii. Rotate Accumulator Left |
| d. RAL | iv. Rotate Accumulator Right |
Codes :
Match the following :
| List – I (Pin terminals) | List – II (Applications) |
| a. SID, SOD | i. Wait state |
| b. READY | ii. Serial data transfer |
| c. TRAP | iii. Address Latch Control |
| d. ALE | iv. Interrupt |
Codes :
Assertion (A) : In serial communication system, when the transmission of data goes in both ways, it is called full-duplex system. Now if two micro processors are connected in full duplex mode, the amount of data transmitted will be double to the amount of data in half-duplex mode connection.
Reason (R) : When the transmission of data goes in one way, it is called half-duplex system and when the data moves in both ways, it is called full duplex system.
The assembler directive used to give name to some value or symbol for 8086 ASM-86 is
Which of the following peripherals provide I/O facilities ?
i. 8279
ii. 8155
iii. 8259
iv. 8255
Match the following :
| List – I | List – II |
| a. 8086 | i. 128 byte RAM |
| b. 8051 | ii. 2-key lockout |
| c. 8279 | iii. 3-chip configuration |
| d. 8085 | iv. maximum mode |
Codes :
An 8086 address bus is a/an _____ -bit bus
Match the columns.
Pin | Description |
a. D 0-D 7 | 1. Reset Input |
b. RESET | 2. Data Lines |
c. A 0,A 1 | 3. Internal Address |
An 8 bit microcontroller has an external RAM with the memory map from 8000 H to 9FFF H. How many number of bytes can this RAM store?
In 8085 microprocessor, initially the number decimal 8 is stored. If instruction RAL is executed twice on this number, the final number stored will be
Which of the following 8085 microprocessor instructions occupies 3 bytes in memory?