Difficulty: Easy
Correct Answer: 8-bit port number
Explanation:
Introduction / Context:
Some CPU architectures, such as the 8085 and 8086 families, distinguish between memory space and I/O space. In an I/O-mapped (isolated I/O) scheme, IN and OUT instructions access ports addressed separately from memory. Understanding how devices are identified in this space is key to designing I/O maps and decoders.
Given Data / Assumptions:
Concept / Approach:
With I/O-mapped I/O on the 8085, each device is selected by an 8-bit port number (0–255). The CPU places this number on the lower address/data bus during I/O cycles, and IO/M along with RD/WR strobes indicate an I/O operation. The decoder then asserts the chip-select for the device assigned to that port, ensuring only the intended peripheral responds.
Step-by-Step Solution:
Verification / Alternative check:
Assembly examples show “IN 20H” or “OUT 10H” addressing ports directly, consistent with 8-bit I/O addressing on the 8085. The 8086 extends capability via DX for 16-bit ports, but the 8085 remains 8-bit.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
8-bit port number
Discussion & Comments