In memory mapped I/O , the devices share the memory space with our RAM whereas in I/O mapped I/O the devices have separate address space than the memory.So, in I/O mapped I/O we can increase the address capacity of the system.
I/O mapped I/O uses special instructions to access the devices(IN, OUT).Since the external devices are not as fast as the processor so, I/O mapped I/O helps reduce the timing difference between the CPU and memory.The main advantage of memory mapped I/O is that it is easier to program it and it is suported by all the instructions and addressing mode(behave as if it is normal memory access).
I/O mapped I/O uses special instructions to access the devices(IN, OUT).Since the external devices are not as fast as the processor so, I/O mapped I/O helps reduce the timing difference between the CPU and memory.The main advantage of memory mapped I/O is that it is easier to program it and it is suported by all the instructions and addressing mode(behave as if it is normal memory access).
No comments:
Post a Comment