MICROPROCESSOR AND MICROCONTROLLER

8051 MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
which port is used only for INPUT/OUTPUT operation?
A
PORT 0
B
PORT 1
C
PORT 2
D
PORT 3
Explanation: 

Detailed explanation-1: -Port 1. P1 is a true I/O port as it doesn’t have any alternative functions as in P0, but this port can be configured as general I/O only.

Detailed explanation-2: -Port 1 (Pin 1 through 8) It is an 8-bit port (pin 1 through 8) and can be used either as input or output. It doesn’t require pull-up resistors because they are already connected internally. Upon reset, Port 1 is configured as an input port.

Detailed explanation-3: -Features of Port 1: Address is 90H. It has only one function – to act as an Input-Output port.

Detailed explanation-4: -Port 0 can be used as a normal bidirectional I/O port or it can be used for address/ data interfacing for accessing external memory when control ‘1’ the port is used for address/data interfacing, when the control is ‘0’ the port can be used as a bidirectional I/O port 0.

There is 1 question to complete.