0% found this document useful (0 votes)
286 views

Memory I-O & I-O Mapped I-0

The microprocessor needs to be connected to memory, peripherals, and input/output (I/O) devices to function. There are two methods for interfacing I/O devices with the 8085 microprocessor: memory-mapped I/O interfacing and I/O mapped I/O interfacing. Memory-mapped I/O interfacing assigns memory addresses to I/O devices that can be accessed like normal memory locations using instructions like LDA and STA, while I/O mapped interfacing assigns 8-bit addresses and uses the IN and OUT instructions to access I/O devices.

Uploaded by

Shoaib Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
286 views

Memory I-O & I-O Mapped I-0

The microprocessor needs to be connected to memory, peripherals, and input/output (I/O) devices to function. There are two methods for interfacing I/O devices with the 8085 microprocessor: memory-mapped I/O interfacing and I/O mapped I/O interfacing. Memory-mapped I/O interfacing assigns memory addresses to I/O devices that can be accessed like normal memory locations using instructions like LDA and STA, while I/O mapped interfacing assigns 8-bit addresses and uses the IN and OUT instructions to access I/O devices.

Uploaded by

Shoaib Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

The microprocessor cannot do anything by itself therefore, It needs to be linked with

memory, extra peripherals, or IO devices. This linking is called Interfacing.


The interfacing of the I/O devices in 8085 can be done in two ways :
1. Memory-Mapped I/O Interfacing :
In this kind of interfacing, we assign a memory address that can be used in the same manner
as we use a normal memory location.
2. I/O Mapped I/O Interfacing :
A kind of interfacing in which we assign an 8-bit address value to the input/output devices
which can be accessed using IN and OUT instruction is called I/O Mapped I/O Interfacing.

Difference between Memory-Mapped I/O Interfacing and I/O Mapped I/O Interfacing :

Features Memory Mapped IO IO Mapped IO


Addressing IO devices are accessed like any They cannot be accessed like
other memory location. any other memory location.
Address Size They are assigned with 16-bit They are assigned with 8-bit
address values. address values.
Instructions Used The instruction used are LDA and The instruction used are IN and
STA, etc. OUT.
Cycles Cycles involved during operation Cycles involved during operation
are Memory Read, Memory are IO read and IO writes in the
Write. case of IO Mapped IO.
Registers Any register can communicate Only Accumulator can
Communicating with the IO device in case of communicate with IO devices in
Memory Mapped IO. case of IO Mapped IO.
16
Space Involved 2  IO ports are possible to be Only 256 I/O ports are available
used for interfacing in case of for interfacing in case of IO
Memory Mapped IO. Mapped IO.
IO/M` signal During writing or read cycles During writing or read cycles
(IO/M` = 0 ) in case of Memory (IO/M` = 1) in case of IO
Mapped IO. Mapped IO.
Control Signal No separate control signal Special control signals are used
required since we have unified in the case of IO Mapped IO.
memory space in the case of
Memory Mapped IO.
Arithmetic and Arithmetic and logical operations Arithmetic and logical operations
Logical operations are performed directly on the cannot be performed directly on
data in the case of Memory the data in the case of IO
Mapped IO. Mapped IO.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy