Programming Concepts—IV


  • The difference between peripheral I/O and memory mapped I/O.
  • The use of the input/output instructions of 8086.
  • The importance of modular programming.
  • The use of directives which facilitate modular programming.
  • To write programs in different modules and link them.
  • To use assembly modules in a C programming environment.


We know that the processor we use is connected to the I/O as well as the memory. So far, we have only dealt with data being read from and written to memory. We have accessed I/O devices like the keyboard and the video monitor, but for that we used DOS interrupts, which are functions already written and tested. Now, let us try to deal with I/O directly ...

Get The x86 Microprocessors: 8086 to Pentium, Multicores, Atom and the 8051 Microcontroller, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.