Introduction To Microprocessor
Introduction To Microprocessor
MICROPRPCESSOR
E 4160
CHAPTER OUTLINE
Cpu
Memory
Input and output unit
Introduction
Address bus
ROM
RAM
I/O
interface
CPU
Data bus
I/O
devices
Control
bus
5
BASIC COMPONENT OF
MICROCOMPUTER
1.
2.
Memory
3. I/O Unit
EVOLUTION OF MICROPROCESSOR
DATA SIZE
Nibble
4 bit
Byte
8 bit
Word
16 bit
Long word
32 bit
10
11
FETCHING AN INSTRUCTION
Step 1
Instruction pointer (program counter) hold the address
of the next instruction to be fetch.
12
Step 2
13
Step 3
14
Step 4
15
Step 5
16
Step 6
17
ALU
Register
Section
Address bus
Data bus
Control bus
18
19
2 bits of ALU
4 bits of ALU
20
CONTROL UNIT
The circuitry that controls the flow of information
through the processor, and coordinates the
activities of the other units within it.
In a way, it is the "brain within the brain", as it
controls what happens inside the processor,
which in turn controls the rest of the PC.
On a regular processor, the control unit performs
the tasks of fetching, decoding, managing
execution and then storing results.
21
INTERNAL STRUCTURE OF
CONTROL UNIT
22
REGISTER SETS
23
16 15
8 7
0
D0
D1
D2
D3
D4
D5
D6
D7
31
16 15
8 7
15
8 7
SYSTEM BYTE
USER VYTE
A0
A1
A2
A3
A4
A5
A6
A7
DATA REGISTERS
ADDRESS REGISTERS
A7
STACK POINTER
PC
PROGRAM CONTER
0
SR
STATUS REGISTER
24
ACCUMULATOR
a register in which intermediate arithmetic and
logic results are stored.
example for accumulator use is summing a list of
numbers.
The
26
Flag
Name
Description
Zero flag
Carry flag
Extend flag
Masks the XIRQ request when set. It is set by the hardware and
cleared by the software as well is set by unmaskable XIRQ.
Overflow Flag
interrupts
27
28
INTERNAL STRUCTURE OF PC
29
30
BUS SYSTEM
4 PCI Express bus card slots (from top to bottom: x4, x16, x1 and x16),
compared to a traditional 32-bit PCI bus card slot (very bottom).
31
32
DATA BUS
The
data
Depending
ADDRESS BUS
The address bus is 'unidirectional', over which
the microprocessor sends an address code to the
memory or input/output.
The size (width) of the address bus is specified by
the number of bits it can handle.
The more bits there are in the address bus, the
more memory locations a microprocessor can
access.
A 16 bit address bus is capable of addressing
65,536 (64K) addresses.
34
CONTROL BUS
35
36
37
8086
38
8085
The Intel 8085 is an 8-bit
microprocessor introduced by
Intel in 1977.
It was binary-compatible with
the more-famous Intel 8080 but
required less supporting
hardware, thus allowing simpler
and less expensive
microcomputer systems to be
built.
From 1977 to
1990s
Common
manufacturer(s)
Intel and
several
others
3,5 and
6MHz
Instruction set
pre x86
Package(s)
40 pin DIP
39