404,622 views
42 votes
42 votes
Advantages and disadvantages of memory mapped I/O?

User Alinoz
by
3.3k points

1 Answer

9 votes
9 votes

Step-by-step explanation:

  • Advantages : The advantage of memory mapped I/O is that all instructions and addressing modes can be used for I/O access. This makes programming easier. When Direct I/O is supported, many microprocessors provide limited instructions and addressing modes for I/O access.

  • Dis Advantages : But there are also disadvantages: An I/O error on a memory-mapped file cannot be caught and dealt with by SQLite. Instead, the I/O error causes a signal which, if not caught by the application, results in a program crash.
User Ali Sadiq
by
3.0k points