Professional Documents
Culture Documents
UNIT-III (Part A - PPI 8255) : Department of Electrical Engineering
UNIT-III (Part A - PPI 8255) : Department of Electrical Engineering
A] 8085 B] 8086
Q.2 The signals exchanged between microprocessor and a peripheral prior to actual data transfer; these
signals are__________
Q.3 A programmable I/O devices likely to have which of the following devices:
A] 40 B] 16
C] 24 D] 28
Q.5 If chip select logic of 8255 is connected to the A7 line through NOT gate and A0 and A1 of 8255
connected to the A0 and A1 of the system address bus, then assuming A6 to A2 at logic 0, what will
be the address of Port C ?
A] 80H B] 81H
C] 82H D] 83H
Q.6 I/O function or bit set/reset function of 8255 are classified by the_____ bit of control word register
A] D7 B] D0
C] D6 D] D6 and D5
Prof. Tambe S. S.
Department of Electrical Engineering
S.N.D. C.O.E. & R.C.
Q.8 In which of the following modes, ports does not have handshake or interrupt capability
A] Mode 1 B] Mode 0
Q.9 Identify the Mode 0 control word to configure port A and port Cu as output ports and port B and
port CL as input ports.
A] 83 B] 82
C] 81 D] 80
Q.10 8255 is interfaced with 8085 in memory mapped I/O scheme. If this 8255 chip is selected when
A15 line is high and A0 and A1 lines are used to select Port A, B, C and Control Word register then,
assuming all don’t care address lines at logic 0, the address of Control Word register is:
A] 83H B] 8003H
C] 8383H D] 82H
Q.11 If 8255 is interfaced in Memory mapped I/O scheme. The Addresses of Port A,B,C and CWR are
4000H,4001H,4002H and 4003H respectively, then which of the following instructions will
configure the all the ports as output port in Mode0 ?
A] It clears the control register B] Sets all the ports in the output mode
Q.13 The addresses for Port A,B,C and CWR are 80H,81H, 82H and 83H respectively.
MVI A, 80H
OUT 83H
XRA A
OUT 82H
ORI 0FH
OUT 83H
A] 80H B] 81H
C] 82H D] 83H
Prof. Tambe S. S.
Department of Electrical Engineering
S.N.D. C.O.E. & R.C.
Q.14 To set/reset bits in port C, a control word is written in to
A] Port C B] Control word register
Q.16 In mode 0
A] 8 bits of Port A, B ,Cu and CL can be B] Ports A and B are used as simple 8-bit
programmed as either input or output I/O ports
Q.17 In mode 1
A] Two ports A and B function as 8-bit I/O B] Input data are latched
ports
Q.18 The bits of Port C used for handshaking when ports A and B are configured as input port in
mode1 are:
A] PC0, PC1 and PC3 B] PC4, PC5 and PC6
Q.19 In 8255 mode1, Which signal generated by a peripheral device to indicate that it has transmitted a
byte of data?
A] B] IBF
C] INTR D] INTE
A] B4 B] C4
C] 4B D] Can’t be predicted
Prof. Tambe S. S.
Department of Electrical Engineering
S.N.D. C.O.E. & R.C.
Q.22 8255 has _____ I/O modes
A] 3 B] 2
C] 1 D] 4
Q.23 A high on _____ line causes all 24 lines of three 8 –bit ports to be in the input mode.
A] B] RESET
C] GND D]
Q.24 If______, the control word is taken as a I/O mode definition word
A] D7 = 1 B] D7 = 0
C] D0 = 1 D] D0 = 0
A] D7 = 1 B] D7 = 0
C] D0 = 1 D] D0 = 0
Q.26 On activation of _____, the 8255 loads data from the input port lines into the input buffer of that
port.
A] B] IBF
C] D] None of these
Q.27 8255 sets INTR when , IBF and INTE for input control signals are ________ respectively
A] 1, 0 and 1 B] 1, 1 and 0
C] 1, 1 and 1 D] 0, 1 and 1
Q.28 Which of the following port can be programmed in Mode 0,1 and 2 ?
A] Port A B] Port B
Q.29 _____ is a general purpose programmable I/O device used for parallel data transfer.
A] 8254 B] 8255
C] 0808 D] 8051
Prof. Tambe S. S.
Department of Electrical Engineering
S.N.D. C.O.E. & R.C.
*Answer Key*
Prof. Tambe S. S.
Department of Electrical Engineering
S.N.D. C.O.E. & R.C.