Computer Science, asked by faizanbhat1833, 10 months ago

Difference between memory mapped i/o and peripheral

Answers

Answered by tiwary2411
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 vishakasaxenasl
3

Answer:

There are the following differences between memory mapped I/O and peripheral mapped I/O:

Explanation:

Memory Mapped I/O

  1. Memory-mapped I/O uses a 16-bit address
  2. The memory map of 64KB is shared between the I/O device and system memory.
  3. Since uses a 16-bit address so it requires more hardware to perform decoding operations.
  4. The key advantage of memory mapped i/o is that arithmetic or logic operations can be directly performed with I/O data
  5. It is used for data transfer between any general-purpose register and I/O port.
  6. More complex.

Peripheral MappedI/O

  1. It uses an 8-bit address
  2. Unlike the memory mapped i/o, it can connect a total of  256 input devices and 256 output devices.
  3. Since it has only an 8-bit address so less hardware is required to decode an 8-bit address
  4. Here data is transferred only between the accumulator and I.O port
  5. The major disadvantage of peripheral mapped i/o is that arithmetic or logical operation cannot be directly performed with I/O data.
  6. Complexity is less.

#SPJ2

Similar questions