Microprocessor Introduction

naveendubey13 250 views 55 slides Oct 06, 2021
Slide 1
Slide 1 of 55
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55

About This Presentation

#Microprocessors introduction


Slide Content

MICROPROCESSOR(EEC-406)
NAVEEN KR. DUBEY
DEPT. OF ELECTRONICS
RKGITW
(Sc. Mechatronics scientist association)

BASIC INTRODUCTION:-
• A Computer is a programmable machine.
The two principal characteristics of a computer are:
• It responds to a specific set of instructions in a
welldefinedmanner.
• It can execute a prerecorded list of instructions (a
program ).
Modern computers are electronic and digital .
The actual machinery wires, transistors, and circuits is
called hardware. the instructions and data are called
software.

MICROPROCESSOR:-
A silicon chip that contains a CPU.
“CPU ON SIGLE CHIP”
In the world of personal computers, the terms
microprocessor and CPU are used interchangeably.
A microprocessor (sometimes abbreviated µP) is
a digital electronic component with miniaturized
transistors on a single semiconductor integrated
circuit (IC).

One or more microprocessors
typically serve as a central
processing unit (CPU) in a
computer system or handheld
device.

APPLICATIONS:
Microprocessors made possible the advent of the
microcomputer.
At the heart of all personal computers and most
working stations sits a microprocessor.
Microprocessors also control the logic of almost all
digital devices, from clock radios to fuel-injection
systems for automobiles.

CHARACTERSTICS PARAMETERS:-
Three basic characteristics differentiate
microprocessors:
Instruction set: The set of instructions that the
microprocessor can execute.
Bus width : The number of bits processed in a
single instruction.
Clock speed : Given in megahertz (MHz), the
clock speed determines how many instructions per
second the processor can execute.

NOTE:
In both cases, the higher the value, the more
powerful the CPU. For example, a 32 bit
microprocessor that runs at 50MHz is more
powerful than a 16-bit microprocessor that
runs at 50MHz.

MICROCONTROLLER:-
“A Microcontroller is nothing but a complete
microcomputer”
Typically this includes a CPU, RAM, some form of
ROM, I/O ports, and timers.
a microcontroller is designed for a very specific task -
to control a particular system.
A microcontroller is meant to be more self-contained
and independent, and functions as a tiny, dedicated
computer.

Evolution of Micro Processor:-
History shows that the ancient Babylonians first began
using abacus(a primitive calculator made of beads)
in about 500B.C
in 1971 Intel corporation released worlds first
microprocessor the INTEL 4004, a 4-bit
microprocessor.

1
st
Generation of microprocessor:-
The microprocessors introduced between 1971 to
1973 were the 1
st
Generation microprocessor.
they were designed using P-mostechnology, it was
low cost, slow speed microprocessor.
were not compatible with TTL.
4 bit provides 8 or 16 pin and 16-bit processor
provide 40 pins.

List of Processors in 1-G:
4 bit processors:
-INTEL 4004 -ROCKWELL PPP-4
-FAIR CHILD PPS-25 -NATIONAL-IMP-4
-INTEL 4040
8-bit processors:
-INTEL 8008 -NATIONAL IMP-8 , -AMI 7200
ROCKWELL PPS-8
16-bit processors
-NATIONAL IMP/16 -NATONAL PALE

2
ND
GENERATION:-
Manufactured using NMOS technology, offers high
speed than PMOS.
compatible with TTL.
LIST OF PROCESSORS:
8-bit processors:
-INTEL 8080 -INTEL 8085
-FAIRCHILD F-8 -MOTOROLA M6800
-MOTOROLA M6809 -NATIONAL CMP-8
-RCA COSMAC -SIGNETIC 2650 –ZILOG 780

12-bit processors:
-INTER SIL 6100 -TOSHIBA TLCS-12
16-bit processors:
-T1 TMS 9900 -DEC-WD MCP1600
-GENERAL INSTRUMENT CD 1600
-DATA GENERAL µn 601

2-G Processors characterstics:
Larger chip size.
40 –pins
More number of on-chip decoded timing signal.
The ability to address more I/O ports.
Faster operation.
More powerful instruction set.
Better interrupt handling capabilities.

3
rd
GENERATION:
3
rd
generation introduced after 1978.
-These are 16-bit processors, designed using
HMOS(high density MOS technology).
List of processors:
-INTEL 8086 -MOTOROLA 68000
-INTEL 80808 -MOTOROLA 68010
-INTEL 80186 -ZILOG Z8000
-INTEL 80286 -NATIONAL NS 16016
-TEXAS INSTRUMENTATION TMS 99000.

HMOS technology offers better speed power
product (spp)and high packing density than NMOS.
spp=Speed X Power = nanosecond X milliwatt
= picojoules.
Characteristics.:
1: provided with 40/48/64 pins.
2:high speed and strong processing capability.
3: easier to program.
4: size of internal registers 8/16/32 bits.
5: processor having multiply ,divide arithmetic H/W
6: the physical memory space 1 to 16 MB.
7: flexible I/Oportaddressing.

4
th
GENERATIOIN:
4
th
generation introduced in the year 1980. these are
32-bit processor and fabricated with low power
version of HMOS.
LIST OF PROCESSORS:
-INTEL 80386 -MOTOROLA M68020
-INTEL 80486 -NOTOROLA M68030
-MOTOROLA MC88100
-BELL MAC 32
-NATIONAL NSI16032

4-G CHARACTERSTICS :
1: PHYSICAL MEMORY SPACE =16 MB (2^32)
2:VIRTUAL MEMORY SPACE =1TB.
3: SUPPORTS INCREASED NUBER OF ADDRESSING
MODE.
In microprocessor technology INTEL has taken leading role.
The latest processor by INTEL is PENTIUM it’s a 64 bit
processor..
With semiconductor technology improvement speed of
microprocessors increased tremendously.

MICRO
PROCESSOR
ARCHITECHTURE

Registers
Registers
Microprocessor
Instruction
Cache
Arithmetic
& Logic
Unit
Control
Unit
Bus
Interface
Unit
Data
Cache
Instruction
Decoder
I/O
RAM
Memory
Bus
System
Bus
Floating
Point
Unit

Bus Interface Unit
Receives instructions & data from main memory
Instructions are then sentto the instruction cache, data to
the data cache
Also receives the processed data and sends it to the
main memory

Instruction Decoder
This unit receives the programming instructionsand
decodes them into a form that is understandableby the
processing units, i.e. the ALU or FPU
Then, it passes onthe decoded instruction to the ALU or
FPU

Arithmetic & Logic Unit (ALU)
Also known as the “Integer Unit”
It performs whole-number mathcalculations (subtract,
multiply, divide, etc) comparisons(is greater than, is
smaller than, etc.) and logical operations (NOT, OR, AND,
etc)
The new breed of popular uPshave not one but two
almost identical ALU’s that can do calculations
simultaneously, doubling the capability

Floating-Point Unit (FPU)
Also known as the“Numeric Unit”
It performs calculations that involvenumbers represented
in the scientific notation(also known as floating-point
numbers).
This notation can represent extremely small and extremely
large numbers in a compact form
Floating-point calculations are required for doing graphics,
engineering and scientific work
The ALU can do thesecalculations as well, but will do them
veryslowly

Registers
Both ALU & FPU have a very small amount of super-fast
private memory placed right next to them for their
exclusiveuse. These are called registers
The ALU & FPU store intermediate and final resultsfrom
their calculations in these registers
Processed data goes back to the data cache and then to
main memory from these registers

Control Unit
The brain of the uP
Managesthe whole uP
Tasks include fetching instructions& data, storing
data,managing input/outputdevices

That was the structure, now
let’s talk about the language of
a μP

Instruction Set
Theset of machine instructions that a uPrecognizes
and can execute –the only languageuPknows
An instruction set includes low-level, a single step-at-a-
time instructions, such as add, subtract, multiply, and
divide
Each uPfamily has its uniqueinstruction set
Bigger instruction-setsmean more complex chips
(higher costs, reduced efficiency), but shorter programs

Addressing
8 bit microprocessors have word length of 8 bits.
Integer data from 0 to 255 may be represented
directly.
To address memory, usually a longer word is needed.
Most microprocessor have a 12 bit (4k) 14 (16k) or
16 bit (64k) memory address but longer address
words are also used.

Addressing modes:
“The addressing mode indicates where the operands
are located.”
Format Instruction:

1.Register Addressing Mode:
(Instruction gets its source data from a register.)
2. Immediate Addressing Mode:
(Immediate data is coded directly in the instruction’s
machine code.)
3. Direct Addressing Mode:
(The operand is stored in a MEMORY location, usually
in the Data Segment.)

4. Register Indirect Addressing Mode:
(Register Indirect Addressing uses a register instead of
a constant (as in d irectaddressing) to specify the
16-bit offset address of the operand.).
5. Based Addressing Mode:
(The operand is located at the address given by
adding an 8-or 16-bit displacement to either BX or
BP and combining the result with a segment
register.)

6. Indexed Addressing Mode:
7. Based Index Addressing (with displacement)
(The base and index registers are added to give
the segment offset of where the operand is
located.)
8. String Addressing Mode:
( A string is a series of bytes or a series of words in
sequential memory locations)
9. Port Addressing Mode

Interrupt
“Diverting attention of any person or machine
(processor) while working”
: the external hardware or software means calling the
attention of processor is said to be interrupt”
Microprocessor having provision of two interrupt:
1:software or polling interrupt
2: hardware interrupts.

Data transfer scheme:

Timer and
Timing diagram:-

Timing Diagrams
HIGH
Low
(used for understand pin operations)
(Used for data transfer)
0
1
inactiveactive

Read Cycle:
rd'/wr
enable
addr
data
t
setup t
read
0

write Cycle:
rd'/wr
addr
data
t
setup t
write
enble

INTERFACING

“To communicate with micro processor interfacing is
required “
To implement serial communicati0n in microprocessor
system we need basically two devices.
1: Parallel to serial converter.
2. Serial to parallel converter.
“To transmit byte data it is necessary to convert byte
into serial bits. This can be done by using the parallel
to serial converter . Similarly at reception those serial
bits must be converted in parallel.”

interfacing devices:-
USART:8251 A (universal synchronous asynchronous
receiver -transmitter):
-its a programmable chip designed for synchronous
and asynchronous serial data communication.
-It is compatible with 8085. it allows full duplex
transmission and reception.
-it is a in 28 pin DIP.

8255 PPI(Programmable Peripheral Interface)
-The INTEL 8255A is a device used to implement
parallel data transfer between processor and slow
peripheral devices like ADC,DAC, keyboard of
segment display etc.
-It works on three modes..
-1: Mode-0 simple I/O port.
-2: Mode-1 Handshake I/O port.
-3: Mode-2 Bidirectional I/O port.

DMA controller –INTEL 8257
-The DMA controller has been developed for
8085/8086/8088 microprocessor based systems.
-It is a device dedicated to perform a high speed
data transfer between memory and I/O device.
-8257 has four channels and so it can be used to
provide direct memory access to four I/O devices.

Keyboard & display controller-INTEL 8279:
-The Intel -8279 is a dedicated controller specially
developed for interfacing keyboard and display
devices to 8085/
-

Interfacing Issues
Three basic modes:
1. Continuous dedicated monitoring of the sensor
by the microprocessor
2. Polling the sensor
3. Interrupt mode

Continuous mode
Microprocessor is dedicated for use with the
sensor
Its output is monitored by the microprocessor
continuously
The microprocessor reads the sensor’s output at
a given rate
Output is then used to act

Poling mode
Sensor operates as if the microprocessor did not
exist.
Its output is monitored by the microprocessor
The microprocessor reads the sensor’s output at
a given rate or intervals –poling
Output is then used to act

Interrupt mode
Microprocessor is in sleep mode
Outputs of the sensor are not being processed
Upon a given event, microprocessor wakes up
through one of its interrupt options.
The sensor activates the interrupt

Note:
Interrupts can be timed
Interrupts can be issued by sources other than
the sensor
The microprocessor may be involved in other
functions, separate from the sensor, such as
control of an actuator
Feedback from actuators may also be used to
perform interrupts

THANK
YOU