When the port lines of a port are to be used as input lines then the value that must be written to the port address is
A. F0H
B. 0FH
C. FFH
D. 00H
Answer:A
When the port lines of a port are to be used as input lines then the value that must be written to the port address is
A. F0H B. 0FH C. FFH D. 00H
Explanation: When the port lines of a port are to be used as input lines then ‘FF’H must be written to the port address.