This question was asked inGPSC AE (Electrical) Class-2 R&B Department Paper 2025 – Series MQuestion 99 of 179 published · Gujarat Public Service CommissionOpen paper
Q217ModeratePeripheral Interfacing

If the value of the pin STB (Strobe Input) falls to low level, then

Answer & step-by-step solution
Correct answer: A. Input port is loaded into input latches
Quick explanation

In strobed input operation, a LOW pulse on STB̅ tells the 8255 that valid peripheral data is present and causes the input port data to be loaded into the input latch. The corresponding buffer-full/status logic is then updated.

STB̅ LOW → input data latched → IBF set (per mode timing)

Concept & Reasoning

STB̅ is an active-low peripheral handshake signal in Mode 1 input. Its falling/low action captures input data so the CPU can later read a stable latched value. Output latches are associated with output-mode handshake signals such as OBF̅, not with the STB̅ input event.

How to Solve It in the Exam

STB = strobe input → input latch.

Important Exam Point

Active-low notation means LOW is the asserted condition.

Quick Trick

STB = strobe input → input latch.

Common Mistake

Loading the output latch when an input strobe is received.

Solution diagram – If the value of the pin STB (Strobe Input) falls to low level, then
Exam tipActive-low notation means LOW is the asserted condition.
Verified · SRO editorial desk Report
Try it before reading the solution — tap an option.0/1✓ 0✗ 0

More Peripheral Interfacing questions