Ch1 Introduction
Ch1 Introduction
1. Introduction to Microprocessor
1.1. Overview
Microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of
performing ALU (Arithmetic and Logical Unit) operations and communicating with other
devices connected to it.
The term microprocessor and microcontroller have always been confused each other. Both of
them are ICs and have been designed for real time application. They share many common
features and at the same time they have significant differences.
Microprocessor: is an IC which has only the CPU inside them i.e., only the processing power.
These microprocessors don’t have RAM, ROM, and other peripheral on the chip.
Microprocessor find applications where tasks are unspecific like developing software, games,
websites, photo editing, creating documents etc. in such cases the relationship between input and
output is not defined. They need high amount of resources like RAM, ROM, I/O ports etc. the
clock speed of microprocessor is quite high as compared to the microcontroller.
Microcontroller: has a CPU, in addition with a fixed amount of RAM, ROM and other
peripherals all embedded on a single chip. Sometimes it is also termed as a mini computer or a
computer on a single chip. They are designed for to perform specific tasks. Specific means
applications where the relationship of input and output is defined. Since the applications are very
specific, they need small resources like RAM, ROM, I/O ports etc and hence can be embedded
on a single chip. This in turn reduces the size and the cost.
Microcomputers become popular in the 1970s and 80s with the advent of increasingly
powerful microprocessors.
Basic Microcomputer system consists of a Central processing unit (CPU), memory (RAM and
ROM), input/output (I/O) unit and buses.
– Further reasons: read the objectives of the course on the course outline.
The word Microprocessor comes from the combination of micro and processor.
Processor means a device that processes whatever. In this context processor means a
device that processes numbers, specifically binary numbers, 0’s and 1’s.
These devices performed the required processing operation, but were too
large and too slow.
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.
– Takes in: The data that the microprocessor manipulates must come from input
devices. Data comes from what is called “input devices”. Input devices are
devices that bring data into the system from the outside world. Examples of input
devices are a keyboard, a mouse, switches, and the like.
Logic operations are operations such as AND, OR, XOR, shift left, shift
right, etc.
– Stored in memory :
ALU: Performs all arithmetic and logical operations. Such as addition, subtraction, AND,
OR and XOR.
Register array: Holds the data temporarily for processing.
It is collection of registers within the microprocessor itself. These are used primarily for 4
data storage during program execution. The number and the size of these registers differ
from one microprocessor to the other.
Control Unit: It supervises or monitors all the operations carried out in the computer.
As the name implies, the control Unit controls what is happening in the microprocessor.
It provides the necessary control and timing signals to all operations in the
microprocessor as well as its contact to the outside world.
IC consists of:
– Devices such as:
Transistors
Diodes
Resistors
Capacitors
Wires
ICs are made of the following materials
– Silicon – for making logic gates and transistors 5
– Copper – for making conductor
– Silicon Dioxide – for making insulator
Instruction Set: it is the set of instructions that the microprocessor can understand.
Bandwidth: It is the number of bits processed in a single instruction.
Clock Speed: It determines the number of operations per second the processor can
perform. It is expressed in megahertz (MHz) or gigahertz (GHz). It is also known as
Clock Rate.
Word Length: It depends upon the width of internal data bus, registers, ALU, etc. an 8-
bit microprocessor can process 8-bit data at a time. The word length ranges from 4-bits to
64-bits depending upon the type of the microcomputer.
Data Types: the microprocessor has multiple data type format like binary, BCD, ASCII,
signed and unsigned numbers.
MIPS: stands for Millions of Instructions per Second, and is a rough measure of the
performance of a CPU.
The microprocessor age began with the advancement in the IC technology to put all
necessary functions of a CPU into a single chip. Advancement in semiconductor technology
increased the capacity to include more and more logic on a single chip. Although the cost of
the microprocessor increased with its complexities, yet it was much lower than the cost
of the equivalent logic scattered over several less capable chips. In addition to reduced
number of ICs needed to perform a given function, the total number of pins is reduced and hence
assembly cost was also reduced.
The two biggest players in the PC CPU market are Intel and Motorola. Intel has enjoyed
tremendous success with its processors since the early 1980s. Most PCs are controlled by Intel
processors. The primary exception to this rule is the Macintosh. All Macs use chips made by 6
Motorola. In addition, there are several firms, such as AMD and Cyrix, that make processors
which mimic the functionality of Intel' s chips. There are also several other chip
manufacturers for workstation PC’s.
The Intel Corporation is the largest manufacturer of microchips in the world, in addition
to being the leading provider of chips for PCs. In fact, Intel invented the microprocessor,
the so-called "computer on a chip," in 1971 with the 4004 model It was this invention that
led to the first microcomputers that began appearing in 1975. However, Intel' s success in
this market was not guaranteed until 198l, when IBM released the first IBM PC, which
was based on the Intel 8088. Since then all IBM machines and the compatibles based on
IBM' s design have been created around Intel' s chips.
i. 4-Bit Microprocessors:
– E.g. INTEL 4004, INTEL 4040
ii. 8-Bit Microprocessors:
– E.g. INTEL 8008, INTEL 8080, INTEL 8085,
iii. 16-Bit Microprocessors:
– E.g. INTEL 8086, INTEL 8088, INTEL 80186 & 80188, INTEL 80286
iv. 32-Bit Microprocessors:
– E.g. INTEL 80386, INTEL 80486, INTEL PENTIUM, INTEL PENTIUM PRO,
INTEL PENTIUM II, INTEL PENTIUM II XEON, INTEL PENTIUM III,
INTEL PENTIUM IV, INTEL DUAL CORE
v. 64-Bit Microprocessors:
– E.g. INTEL CORE 2, INTEL CORE I3, INTEL CORE I5, INTEL CORE I7 7
In Details:
INTEL 8086
– Introduced in 1978
– It was the first 16-bit μP.
– Its clock speed is 4.77 MHz, 8 MHz and 10 MHz, depending on the version
– Its data bus is 16-bit and address bus is 20 –bit
– It had 29,000 transistors
– Could execute 2.5 million instructions per second.
– It could access 1 MB of memory
– It had 22,000 instructions
– It had Multiply and Divide instructions
INTEL 8088
– Introduced in 1979.
– It was also 16-bit μP.
– It was created as a cheaper version of Intel’s 8086.
– It was a 16-bit processor with an 8-bit external bus.
– Could execute 2.5 million instructions per second.
– This chip became the most popular in the computer industry when IBM used it for
its first PC.
INTEL 80386
– Introduced in 1986.
– It was first 32-bit μP.
– Its data bus is 32-bit and
– Address bus is 32-bit.
– It could address 4 GB of memory.
– It had 275,000 transistors. 9
– Its clock speed varied from 16 MHz to 33 MHz depending upon the various
versions.
INTEL 80386(Continued)
– Has Different versions:
a) 80386 DX
b) 80386 SX
c) 80386 SL
– Intel 80386 became the best selling microprocessor in history.
INTEL PENTIUM
– Introduced in 1993.
– It was also 32-bit μP.
– It was originally named 80586.
– Its clock speed was 66 MHz
– Its data bus is 32-bit and address bus is 32-bit.
– It could address 4 GB of memory
– Could execute 110 million instructions per second.
– Has a Cache memory:
o 8 KB of the cache is used for instructions.
o 8 KB of the cache is used for data.
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 (as shown in the fig below).
– It supported SMT (Simultaneously Multi-Threading) technology. E.g. Adobe
Photoshop supported SMT.
10
INTEL CORE 2
– Introduced in 2006.
– It is a 64-bit μP.
– Its clock speed is from 1.2GHz to 3 GHz.
– It has 291 million transistors.
– It has 64 KB of L1 cache per core and 4 MB of L2 cache.
– It is launched in three different versions:
o Intel Core 2 Duo
o Intel Core 2 Quad
o Intel Core 2 Extreme
11