Q8Microprocessor and Microcontroller
Question
2 marks
What do you mean by input port and output port?
Answer
Input/Output ports are hardware interfaces allowing the microprocessor to communicate with the external physical world.
An Input Port is a specialized hardware interface (typically a tri-state buffer) that allows the microprocessor to securely read external digital signals (from keyboards or sensors) into the Accumulator. An Output Port is a hardware latch that allows the microprocessor to push internal data from the Accumulator out to external physical devices (like LEDs or motors).