Professional Documents
Culture Documents
INTERFACING
AUTHORS
:RAMESH.S.GAONKAR
BADRI RAM
DOUGLAS.V.HALL
LIU AND GIBSON
Syllabus of Microprocessor
Introduction to microprocessor
Architecture and block diagram of microprocessor
8085 microprocesso
8237 DMA Controller
8255 Programmable peripheral interface device
8254 programmable interval timer
8259 programmable inttrupt controller
8086 microprocessor
What is Microprocessor?
A silicon chip that contains a CPU. In the world of
personal computers, the terms microprocessor
and CPU are used interchangeably. At the heart
of all personal computers and most
workstations sits a microprocessor.
Microprocessors also control the logic of almost
all digital devices, from clock radios to fuelinjection systems for automobiles
is a programmable device
It can be instructed to perform given tasks with
in its capability.
The programmer selects instruction from the
list and determines the sequence of execution
for a given task.
It takes input from the input device and
process the input as it behaves like a CPU and
gives the output.
INPUT
Microprocessor
As
CPU
MEMORY
OUTPUT
Structure of microprocessor
Chip
History of microprocessor
Intel's
The
History of microprocessor
then
Then
Continued
Some questions
What
Program
counter
Stack pointer
General purpose registers
Accumulator
Flag registers
Data and address buses
transfer operations
Arithmetic operations
Logical operations
Branch operations
Machine control operations
MOV Rd,Rs
MVI R,8 bit
HLT
IN 8 bit port address accept the data from the
input port specified in the second byte and loads into
the accumulator.
NOP
OUT 8 bit port address copies the contents of the
accumulator to the output port specified in the
second byte,2 byte instruction
Addressing mode
Immediate
addressing mvi
Register addressing mov
Direct addressing in/out ports
Indirect addressing
Logical operations
ANA
R
ANI 8 bit
ORA R
ORI 8 bit
XRA R
XRI 8 bit
CMA
Arthimetic operations
ADD
R
ADI 8 bit
SUB R
SUI 8 bit
INR R
DCR R
Branch operations
Microprocessor architecture
The
Microprocessor architecture
Microprocessor
initiated operations
Internal operations
Externally initiated operations
To perform these functions microprocessor
requires a group of logic circuits and set of
signals called control signals.
read
Memory write
I/O read
I/O write
Internal operations
Store
8-bit data
Perform arthimetic and logical operations
Test for conditions
Sequence the excuetion of operations
Store data temporarily during excuetion
includes
Arithmetic and logic unit
Timing and control unit
Instruction register and decoder
Register array
Interrupt control
Serial input output control
8085 interrupt
What
is interrupt?
Vectored interrupt
Non vectored interrupt
Enable and disable interrupt instructions
Pending interrupts
8085 interrupt
Classification of Interrupts
Interrupts
Interrupts
8085 intrrupts
TRAP
RST7.5
RST6.5
RST
5.5
INTR
INTA
GENERAL
PURPOSE
PROGRAMMABLE PERIPHERAL
DEVICES
8255A Programmable
peripheral interface
8254 programmable interval timer
8259 Programmable interval timer
8237 DMA Controller
diagram of 8255A
Control word
BSR mode
Mode 0
Mode 1
Mode 2
Control Word
D7 D6 D5 D4 D3 D2 D1 D0
0/1
BSR Mode
I/O Mode
For port C
Mode0 Mode 1 Mode2
No effect on mode
Simple I/O
Handshake I/O
for ports
A,B,C
Port C bits
consists of
DMA channels and interfacing
DMA Signals
System interface
Programming the 8237
DMA Execution consists of
Master and slave mode
8086 microprocessor
It
is 16 bit microprocessor.
Contains 29000 transistors and is fabricated
using HMOS technology.
Has addressing capacity of I megabyte.
Has 20 address pins.
+5v supply voltage
8086 Arcitecture
Internal
registers
Control logic
Instruction queue
ALU
PSW
Pointers
Segment registers
within segments
Overlapping
segments