Difference between memory mapped i/o and peripheral
Answers
Answered by
7
Answer:
Memory Mapped I/O
- 16-bit device address
- Data transfer between any general-purpose register and I/O port.
- The memory map (64K) is shared between I/O device and system memory.
- More hardware is required to decode 16-bit address
- Arithmetic or logic operation can be directly performed with I/O data
Peripheral MappedI/O
- 8-bit device address
- Data is transfer only between accumulator and I.O port
- The I/O map is independent of the memory map; 256 input device and 256. output device can be connected
- Less hardware is required to decode 8-bit address
- Arithmetic or logical operation cannot be directly performed with I/O data
Answered by
3
Answer:
There are the following differences between memory mapped I/O and peripheral mapped I/O:
Explanation:
Memory Mapped I/O
- Memory-mapped I/O uses a 16-bit address
- The memory map of 64KB is shared between the I/O device and system memory.
- Since uses a 16-bit address so it requires more hardware to perform decoding operations.
- The key advantage of memory mapped i/o is that arithmetic or logic operations can be directly performed with I/O data
- It is used for data transfer between any general-purpose register and I/O port.
- More complex.
Peripheral MappedI/O
- It uses an 8-bit address
- Unlike the memory mapped i/o, it can connect a total of 256 input devices and 256 output devices.
- Since it has only an 8-bit address so less hardware is required to decode an 8-bit address
- Here data is transferred only between the accumulator and I.O port
- The major disadvantage of peripheral mapped i/o is that arithmetic or logical operation cannot be directly performed with I/O data.
- Complexity is less.
#SPJ2
Similar questions