MicroPROCESSOR Week 1
MicroPROCESSOR Week 1
MICROPROCESSOR
S
SUBJECT: CPE 412/317
PROFESSOR: ENGR. MARIO JR. GARCIA BRUCAL
DATE: SEPTEMER 23-27, 2024
Learning Objectives
At the end of the lesson, the students must be
able to:
• Define microprocessor and microcontroller
• Familiarize the basic architecture of
Microprocessor
Introduction
Computer: A computer is a programmable machine that receives input, stores and manipulates
data/information, and provides output in a useful format.
Address
bus
I/O I/O
ROM RAM interfac devices
CPU e
Data Control
bus bus
⚫ Microprocessor:-
It is a programmable VLSI chip that includes ALU, register circuits & control circuits. Its main
units are:
⚫ ALU
⚫ Registers
⚫ Control Unit
⚫ Microcontroller:-
Silicon chip, which includes microprocessor, memory & I/O in a single package
Microprocessor
A microprocessor (abbreviated
μP) is a programmable digital
electronic component that
incorporates the functions of a
central processing unit (CPU) on
a single semiconducting
integrated circuit (IC).
Microprocessor
The microprocessor is a programmable device
that takes in numbers, performs arithmetic or
logical operations according to the program
stored in memory, and then produces other
numbers.
Microprocessor
Programmable device: The microprocessor
can perform different sets of operations on the
data it receives depending on the sequence of
instructions supplied in the given program.
By changing the program, the microprocessor
manipulates the data in different ways.
Microprocessor
Instructions: Each microprocessor is designed
to execute a specific group of operations. This
group of operations is called an instruction set.
This instruction set defines what the
microprocessor can and cannot do.
Microprocessor
Takes in: The data that the microprocessor
manipulates must come from somewhere.
•It comes from what is called “input devices”.
•These are devices that bring data into the system
from the outside world.
•These represent devices such as a keyboard, a
mouse, switches, and the like.
Microprocessor
Numbers: The microprocessor has a very narrow view of
life. It only understands binary numbers.
• A binary digit is called a bit (which comes from a binary
digit).
• The microprocessor recognizes and processes a group
of bits together. This group of bits is called a “word”.
• The number of bits in a Microprocessor’s word is a
measure of its “abilities”.
Microprocessor
Arithmetic and Logic Operations:
• Every microprocessor has arithmetic operations such as add and
subtract as part of its instruction set.
– Most microprocessors will have operations such as multiply and divide.
– Some of the newer ones will have complex operations such as square
root.
• In addition, microprocessors have logic operations as well.
Such as AND, OR, XOR, shift left, shift right, etc.
• Again, the number and types of operations define the
microprocessor’s instruction set and depends on the specific
microprocessor.
Microprocessor
Stored in memory:
•When a program is entered into a computer, it is
stored in memory. Then, as the microprocessor
starts to execute the instructions, it brings the
instructions from memory one at a time.
•Memory is also used to hold the data.
– The microprocessor reads (brings in) the data from
memory when needed and writes (stores) the results
into memory when it is done.
Microprocessor
Produces: For the user to see the result of the
execution of the program, the results must be
presented in a human readable form.
•The results must be presented on an output device.
•This can be the monitor, a paper from the printer, a
simple LED or many other forms.
History of Microprocessor
The Electrical Age
The 1800s saw the advent of electrical motors (by Michael Faraday),
all based on the mechanical calculator developed by Blaise Pascal.
In 1889 Herman Hollerith developed the punched card for storing
data. He borrowed the punched card idea from Jacquard. In 1896
Hollerith formed a company called the Tabulating Machine
Company. After several mergers, the Tabulating Machine Company
was formed into International Business Machines Corporation
(IBM).
History of Microprocessor
The Electrical Age
In 1941 Zuse constructed the first electronic calculating machine.
His Z3 calculating computer was used in aircraft and missile design
during war II. The first fixed-program electronic computer system
was placed into operation in 1943 to break secret German military
codes. This system was invented by Alan Turing. Turing called his
machine Colossus.
History of Microprocessor
The Electrical Age
The ENIAC (Electronics Numerical Integrator And Calculator)
is the first general-purpose, programmable electronic computer
• Containing over 17000 vacuum tubes.
system was developed in 1946 at the University of Pennsylvania. The
ENIAC has the following specifications:
• Containing over 500 miles of wires.
• Weighed over 30 tans.
• Perform about 100000 operations per second.
• Programmed by rewiring its circuit.
History of Microprocessor
The Electrical Age
In 1948 the transistor was developed at Bell Labs, followed by the
1958 invention of the Integrated Circuit (IC) by Jack Kilby of Texas
Instruments.
History of Microprocessor
The Microprocessor Age
• Fairchild Semiconductors (founded in 1957) invented the first IC
in 1959.
• In 1968, Robert Noyce, Gordan Moore, Andrew Grove resigned
from Fairchild Semiconductors.
• They founded their own company Intel (Integrated Electronics).
• Intel grown from 3 man start-up in 1968 to industrial giant by
1981.
• It had 20,000 employees and $188 million revenue.
History of Microprocessor
The Microprocessor Age
The first microprocessor was developed at Intel
Corporation in 1971.
History of Microprocessor
Intel 4004
Introduced in 1971.
It was the first microprocessor by Intel.
It was a 4-bit µP.
Its clock speed was 740KHz.
It had 2,300 transistors.
It could execute around 60,000
instructions per second.
History of Microprocessor
Intel 4040
Introduced in 1974.
It was also 4-bit µP.
History of Microprocessor
Second Generation – 8 bit Microprocessor
Introduced in 1979.
Introduce by Zilog
It had 17, 500 transistors.
History of Microprocessor
Introduced in 1982.
Intel 80186 & 80188 They were 16-bit µPs.
Clock speed was 6 MHz.
80188 was a cheaper version of
80186 with an 8-bit external data
bus.
They had additional
components like:
Interrupt Controller
Clock Generator
Local Bus Controller
Counters
History of Microprocessor
Intel 80286
Introduced in 1982.
It was 16-bit µP.
Its clock speed was 8 MHz.
Its data bus is 16-bit and address bus is
24-bit.
Introduced in 1999.
It was also 32-bit µP.
Its clock speed varied
from 500 MHz to 1.4 GHz.
It had 9.5 million
transistors.
History of Microprocessor
Intel Pentium IV
Introduced in 2000.
Designed by Motorola
Max. CPU clock rate 12.5 MHz to
33 MHz
L1 cache 256 byte instruction
cache
It had 200,000 transistors.
History of Microprocessor
Intel Dual Core Introduced in 2006.
It is 32-bit or 64-bit µP.
It has two cores.
Both the cores have there own internal
bus and L1 cache, but share the external
bus and L2 cache (Next Slide).
It supported SMT
technology.