1615292015_Introtoperipheral
1615292015_Introtoperipheral
8086 Microprocessor
Memory
Processor Memory
▪ Registers inside a microcomputer
▪ Store data and results temporarily
▪ No speed disparity
▪ Cost
Secondary Memory
▪ Storage media comprising of slow devices such as
magnetic tapes and disks
▪ Hold large data files and programs: Operating
system, compilers, databases, permanent programs
etc.
3
8086 Microprocessor
8086 : 16-bit
4
8086 Microprocessor
4 Read/ Write word at an odd address 0 1 D15 – D0 in first operation byte from
odd bank is transferred
6
8086 Microprocessor
Interfacing SRAM
Typical Semiconductor IC Chip
and EPROM
8
8086 Microprocessor
Interfacing
Memory map of 8086
SRAM and EPROM
EPROM’s are mapped at FFFFFH
Facilitate automatic execution of monitor programs and creation of
interrupt vector table
9
8086 Microprocessor
Initialization of stack
Memory mapped
Programmed I/ O
Data transfer is accomplished I/O mapped
through an I/O port controlled by
software
Interrupt driven I/ O
I/O device interrupts the processor and
initiate data transfer
Direct memory access
Data transfer is achieved by bypassing
11
the microprocessor
8086 Microprocessor
The I/O ports or peripherals can be treated like Only IN and OUT instructions can be used for data
memory locations and so all instructions related transfer between I/O device and processor
to memory can be used for data transmission
between I/O device and processor
Data can be moved from any register to ports Data transfer takes place only between
and vice versa accumulator and ports
When memory mapping is used for I/O devices, Full memory space can be used for addressing
full memory address space cannot be used for memory.
addressing memory.
Suitable for systems which require large
Useful only for small systems where memory memory capacity
requirement is less
For accessing the memory mapped devices, the For accessing the I/O mapped devices, the
processor executes memory read or write cycle. processor executes I/O read or write cycle.