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
This question was addressed to me in an interview for job.
My doubt is from Interfacing With 8051 Ports -1 topic in portion Microcontroller 8051 of Microprocessor