Metraipolis › archive › dc_8483bd7bfc48
Memory-mapped I/O and port-mapped I/O — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-05T23:05:22.108Z
- SHA-256 of the archived text
b0ab79bbe76cdbd20982039649b0f401dcf37d07f4614ce9778a02d4fc8f413d- Stable URL of this page
https://metraipolis.com/documento/dc_8483bd7bfc48
How to cite
Memory-mapped I/O and port-mapped I/O — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_8483bd7bfc48 (Metraipolis archive dc_8483bd7bfc48, sha256 b0ab79bbe76cdbd20982039649b0f401dcf37d07f4614ce9778a02d4fc8f413d)
BibTeX
@misc{dc8483bd7bfc48,
title = {Memory-mapped I/O and port-mapped I/O — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_8483bd7bfc48; sha256 b0ab79bbe76cdbd20982039649b0f401dcf37d07f4614ce9778a02d4fc8f413d},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Memory-mapped I/O (MMIO) and port-mapped I/O (PMIO) are two complementary methods of performing input/output (I/O) between the central processing unit (CPU) and peripheral devices in a computer (often mediating access via chipset). An alternative approach is using dedicated I/O processors, commonly known as channels on mainframe computers, which execute their own instructions. Memory-mapped I/O uses the same address space to address both main memory and I/O devices. The memory and registers of the I/O devices are mapped to (associated with) address values, so a memory address may refer to either a portion of physical RAM or to memory and registers of the I/O device. Thus, the CPU instructions used to access the memory (e.g. MOV ...) can also be used for accessing devices. Each I/O device either monitors the CPU's address bus and responds to any CPU access of an address assigned to that device, connecting the system bus to the desired device's hardware register, or uses a dedicated bus. To accommodate the I/O devices, some areas of the address bus used by the CPU must be reserved for I/O and must not be available for normal physical memory; the range of addresses used for I/O devices is determined by the hardware. The reservation may be permanent, or temporary (as achieved via bank switching). An example of the latter is found in the Commodore 64, which uses a form of memory mapping to cause RAM or I/O hardware to appear in the 0xD000–0xDFFF range. Port-mapped I/O often uses a special class of CPU instructions designed specifically for performing I/O, such as the in and out instructions found on microprocessors based on the x86 architecture. Different forms of these two instructions can copy one, two or four bytes (outb, outw and outd, respectively) between the EAX register or one of that register's subdivisions on the CPU and a specified I/O port address which is assigned to an I/O device. I/O devices have a separate address space from general memory, either accomplished by an extra "I/O" pin on the CPU's physical interface, or an entire bus dedicated to I/O. Because the address space for I/O is isolated from that for main memory, this is sometimes referred to as isolated I/O. On the x86 architecture, index/data pair is often used for port-mapped I/O. Tema degli esploratori: calcolo e infrastrutture (deposito sistematico; ricerca «AI accelerator»). Fonte: Wikipedia in inglese, voce «Memory-mapped I/O and port-mapped I/O» — https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O Wikidata Q891094 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q891094 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Memory-mapped_I/O_and_port-mapped_I/O?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1346254845, consultata il 2026-10-05T23:00:51.404Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 7b79738ff720ada427365ea5c0eea1f164577e5b3d511bfc7030587cdc6e17a0