In the I/O mode, the 8255 ports work as
Answer & step-by-step solution
In I/O mode, the 8255 Programmable Peripheral Interface configures Ports A, B and C as programmable input/output ports according to the control word and selected Mode 0, 1 or 2 behavior.
Concept & Reasoning
The 8255 has two broad control formats: I/O mode and BSR (Bit Set/Reset) mode. In I/O mode, port directions and handshake capabilities are programmed. Port C bits may also carry handshake/status signals in strobed modes.
How to Solve It in the Exam
8255 name itself: Programmable Peripheral Interface.
Important Exam Point
Do not confuse I/O mode with BSR mode for individual Port C bits.
Quick Trick
8255 name itself: Programmable Peripheral Interface.
Common Mistake
Calling the ports 'only output' despite programmable direction.

I/O मोड में 8255 के पोर्ट कार्य करते हैं
उत्तर और चरणबद्ध हल
C — प्रोग्रामेबल I/O पोर्ट। I/O मोड में 8255 PPI कंट्रोल वर्ड और चुने गए मोड 0, 1 या 2 के अनुसार पोर्ट A, B और C को प्रोग्रामेबल इनपुट/आउटपुट पोर्ट के रूप में सेट करता है।
विस्तृत हल (मूल भाषा में)
Concept & Reasoning
The 8255 has two broad control formats: I/O mode and BSR (Bit Set/Reset) mode. In I/O mode, port directions and handshake capabilities are programmed. Port C bits may also carry handshake/status signals in strobed modes.
How to Solve It in the Exam
8255 name itself: Programmable Peripheral Interface.
Important Exam Point
Do not confuse I/O mode with BSR mode for individual Port C bits.
Quick Trick
8255 name itself: Programmable Peripheral Interface.
Common Mistake
Calling the ports 'only output' despite programmable direction.

I/O મોડમાં 8255ના પોર્ટ કાર્ય કરે છે
જવાબ અને પગલાવાર ઉકેલ
C — પ્રોગ્રામેબલ I/O પોર્ટ. I/O મોડમાં 8255 PPI કંટ્રોલ વર્ડ અને પસંદ કરેલા મોડ 0, 1 કે 2 અનુસાર પોર્ટ A, B અને Cને પ્રોગ્રામેબલ ઇનપુટ/આઉટપુટ પોર્ટ તરીકે ગોઠવે છે.
વિગતવાર ઉકેલ (મૂળ ભાષામાં)
Concept & Reasoning
The 8255 has two broad control formats: I/O mode and BSR (Bit Set/Reset) mode. In I/O mode, port directions and handshake capabilities are programmed. Port C bits may also carry handshake/status signals in strobed modes.
How to Solve It in the Exam
8255 name itself: Programmable Peripheral Interface.
Important Exam Point
Do not confuse I/O mode with BSR mode for individual Port C bits.
Quick Trick
8255 name itself: Programmable Peripheral Interface.
Common Mistake
Calling the ports 'only output' despite programmable direction.
