Explain the advantages and disadvantages of using memory I/O and standard I/O.
Memory mapped I/O and standard I/O are the two methods for communicating microprocessor with peripherals.
Processor talks to both memory and peripheral using the same bus.
Two ways to talk to a peripheral.
Memory mapped I/O:
Standard I/O (I/O mapped I/O):