The input and output operations are respectively similar to the operations,
(a) read, read
(b) write, write
(c) read, write
(d) write, read
I had been asked this question in homework.
Question is from Interfacing I/O Ports in chapter Basic Peripherals and their Interfacing with 8086/88 of Microprocessor