01 Introduction To Microprocessor
01 Introduction To Microprocessor
01 Introduction To Microprocessor
Reference Book
Assembly Language for x86 Processors By KIP R. Irvine, 7th
Edition(Reference Book)
8051 by Scott Mackenzi
Software
Keil (Platform for 8051)
Grading
Assignments – 10% (2-3)-CEP
Quizzes – 10% (3-4)
OHTs – 30%
Final Exam – 50%
CLOs
At the end of the semester students must be able to :-
Ser/ Course Learning Outcomes PLO BT
No
1 Describe the basic architecture/components of
1 C2
Microprocessor / Microcontroller
2 Discuss the basic concepts of working of an
embedded system with 2 C2
microcontroller/microprocessor
3 Analyze and design programs for
Microcontroller/Microprocessor in assembly 3 C3
language and its interfacing
4 Design and program the embedded systems with
5 P3
microcontroller/microprocessor using modern tools
5 Demonstrate ability to work effectively as an
9 A3
individual or in a team.
Course Outline
Introduction, Evolution of Microcontrollers
Microprocessors / General Introduction
Concepts Features/Pin Description
Architecture of 80x86 Addressing Modes
8x86Hardware Specs Programming
Memory Banking Data Movement Inst
Pipelining Timers
Pin description Counters
Read/Write Cycles Serial Communications
Interrupt Processing Ex Interfacing Techniques
DMA Interfacing
Basic Concepts of Microprocessors
• Differences between:
– Microcomputer – a computer with a
microprocessor as its CPU. Includes memory, I/O
etc.
– Microprocessor – silicon chip which includes
ALU, register circuits & control circuits
– Microcontroller – silicon chip which includes
microprocessor, memory & I/O in a single
package.
What is a Microprocessor?
• The word comes from the combination micro and
processor.
– Processor means a device that processes data
Micro
• Micro:
– In the late 1960’s, processors were built using discrete
elements.
– In the early 1970’s the microchip was invented.
– All of the components that made up the processor
were now placed on a single piece of silicon.
– The size became several thousand times smaller and
the speed became several hundred times faster. The
“Micro”Processor was born.
Definition of the Microprocessor
Input Output
Memory
Inside The Microprocessor
• Internally, the microprocessor is made up of
3 main units.
– The Arithmetic/Logic Unit (ALU)
– The Control Unit.
– An array of registers for holding data while it is
being manipulated.
Organization of a microprocessor- based
system
• Let’s expand the picture a bit.
I/O
Input / Output
Register
ALU
Array
System Bus
Control Memory
ROM RAM
Clock speed
Also called clock rate, the clock speed is the speed
at which a microprocessor executes instructions.
Every computer contains an internal clock that
regulates the rate at which instructions are executed
and synchronizes all the various computer
components.
The faster the clock, the more instructions the microprocessor
can execute per second.
The microprocessor requires a fixed number of clock ticks (or
clock cycles) to execute each instruction.
Clock speed is stated in either MHz or GHz.
L1 cache (also called primary cache) is built directly into the microprocessor, a
location referred to as "on-die".
L2cache (also called secondary cache) is not usually built into microprocessor.
L3 Cache:- The L3 cache is larger in size but also slower in speed than L1 and L2,it's
size is between 1MB to 8MB.
In Multicore processors, each core may have separate L1 and L2,but all core
share a common L3 cache.
BUS SYSTEM
Data BUS
Address BUS
Control BUS
Internal structure and basic
operation of microprocessor
Address bus
ALU Register
Section
Data bus
33
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
The control bus is used by the microprocessor to
send out timing and control signals in order to
coordinate and regulate its operation and to
communicate with other devices, i.e. memory or
input/output.
35
Bus Speed
The processor communicates with other devices via
the data bus, sometimes called the front side bus.
Bus speed is measured in MHz, the same unit used
to measure clock speed. While a processor might be
working at up to 3 GHz, quite often the performance
of the computer is hampered by a slower data bus
speed.
Block diagram of micro computer
Intel 4004
* Year of introduction 1971
* Clock speed : 740 KHz
* Number of transistors:2300
* 45 Instructions
* 4-bit register and 4-bit data bus.
*4K main memory
The first programmable device used in calculator
The world first microprocessor
Intel 8008
* 1972
* Clock speed : 500 KHz – 800 KHz
* Number of transistor:3500
* 8-bit register and 8-bit data bus.
*48 Instructions
*16 KB main memory
Intel 8080
* Introduced in the year1973
* Clock speed : 2 MHz
* Number of transistor: 4500
• 8-bit register and data bus.
• 64 KB main memory
• 2 microseconds clock cycle
• 5x105 instructions/sec
• 10 times faster than 8008
• Micro computers were designed in mid 1970’s using
8080 microprocessor
Intel 8085
Introduced in the Year 1975
8 bit microprocessor - an upgraded version of 8080
64KB main memory
1.3 microseconds clock cycle
246 instructions
Intel 8086
* 1978
* Clock speed : 4.47 MHz
* Number of transistors:29000
• 16-bit register and data bus.
• 4-6 byte Instruction Queue
Intel 8088
* 1981
* Clock speed : 4,47 MHz
• Number of transistors:29000
• 4 byte instruction cache
• 16-bit register and data bus.
• 1MB main memory
The worlds first PC ran on an Intel 8088 microprocessor
Intel 286
* 1982
* Clock speed: 12 MHz
* Number of transistor:134000
• 16-bit register and data bus.
• 16 MB main memory
• Concentrates on features needed to implement
Multitasking
• Two modes of memory
• Real Mode
• Protected Mode
Intel 386
*1985
Intel’s first practical 32 bit microprocessor
* Clock speed: 16 MHz
* Number of transistors:275000
• 32-bit register and data bus.
• 4GB main memory
• 3 Modes of Memory
• Real Mode
• Protected Mode
• Virtual Mode
Intel 486
* 1989
* Clock speed: 50 MHz
* Number of transistor:
1,200,000
• 32-bit register and data bus.
• Incorporate a floating point unit in the CPU Core
• 8KB on chip cache
Intel Pentium pro
* 1995
* Clock speed: 200 MHz
* Number of transistor:
5,500,000
• 32-bit register and data bus.
• Introduced MMX
Intel Pentium ||
* 1997
* Clock speed: 300 MHz
* Number of transistor:
7,500,000
* 32-bit register and data bus.
Intel Pentium |||
* 1999
* Clock speed: 500 MHz
* Number of transistor:
9,500,000
* 32-bit register and data bus.
Intel Pentium 4
* 2000
* Clock speed: 1 GHz
* Number of transistor:
15,500,000
* 64-bit register and data bus.
Intel Pentium D
* 2005
* Clock speed: 3.6 GHz
* Number of transistor:
47,500,000
* 32-bit register and data bus.
Intel Core 2 Quad
* 2006/2007
* Clock speed: 3.6 GHz
* Number of transistor:
214,500,000
* 32-bit register and data bus.
Core i3
* The first Core i3 processors were launched on January 7, 2010
* Variants530 – 2.93 GHz Hyper-Threading
- 540 – 3.06 GHz Hyper-Threading
- 550 – 3.2 GHz Hyper-Threading
- 560 – 3.33 GHz Hyper-Threading
64 Kb L1 cache
512 Kb L2 cache
4 MB L3 cache
Core i5
* The first Core i5 was introduced on September 8, 2009