Skip to main content

Part of the book series: Macmillan Master Series ((PMSC))

  • 140 Accesses

Abstract

There are two main methods of communicating external equipment, either they are mapped into the physical memory and given a real address on the address bus (memory mapped I/O) or they are mapped into a special area of input/output memory (isolated I/O). Figure 15.1 shows the two methods. Devices mapped into memory are accessed by reading or writing to the physical address. Isolated I/O provides ports which are gateways between the interface device and the processor. They are isolated from the system using a buffering system and are accessed by four machine code instructions. The IN instruction inputs a byte, or a word, and the OUT instruction outputs a byte, or a word. A Pascal compiler interprets the equivalent high-level functions and produces machine code which uses these instructions.

Memory mapping or isolated interfacing

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Copyright information

© 1998 William Buchanan

About this chapter

Cite this chapter

Buchanan, W. (1998). Interfacing. In: Mastering Pascal and Delphi Programming. Macmillan Master Series. Palgrave, London. https://doi.org/10.1007/978-1-349-14770-0_15

Download citation

Publish with us

Policies and ethics