Unit I
Unit I
Objectives:
The Microprocessor
The silicon chip that contains the CPU where most calculations take place
Microprocessors are distinguished by 3 characteristics
Instruction set: the set of instructions that the microprocessor can execute
Bandwidth: the number of bits processed in each instruction
Clock speed: (MHz) It determines how many instructions/second the processor can
execute
The Microprocessor
The brain or engine of the PC is the processor (sometimes called microprocessor), or
central processing unit (CPU). The CPU performs the system's calculating and processing.
Brief History
• Intel is generally credited with creating the first microprocessor in 1971 with the
introduction of a chip called the 4004.
• All PC-compatible systems use either Intel processors or Intel-compatible processors
from a handful of competitors
• Example: AMD or Cyrix.
• Late 1970s the two most popular processors for PCs were not from Intel (although one
was a clone of an Intel processor). Personal computers of that time primarily used the Z-
80 by Zilog and the 6502 by MOS Technologies.
• Z-80 was noted for being an improved and less expensive clone of the Intel 8080
processor, similar to the way companies today such as AMD, Cyrix, IDT, and Rise
Technologies have cloned Intel's Pentium processors.
Intel
1971 - 4004
First microprocessor
All CPU components on a single chip
4 bit
Followed in 1972 by 8008
8 bit
Both designed for specific applications
1974 - 8080
Intel’s first general purpose microprocessor
Pentium Evolution
8080
first general purpose microprocessor
8 bit data path
Used in first personal computer – Altair
8086
much more powerful
16 bit
instruction cache, prefetch few instructions
8088 (8 bit external bus) used in first IBM PC
80286
16 Mbyte memory addressable
up from 1Mb
80386
32 bit
Support for multitasking
80486
sophisticated powerful cache and instruction pipelining
built in maths co-processor
Pentium
Superscalar
Multiple instructions executed in parallel
Pentium Pro
Increased superscalar organization
Aggressive register renaming
branch prediction
data flow analysis
speculative execution
Pentium II
MMX technology
graphics, video & audio processing
Pentium III
Additional floating point instructions for 3D graphics
Pentium 4
Note Arabic rather than Roman numerals
Further floating point and multimedia enhancements
Itanium
64 bit
Categories of microprocessor
Processors can broadly be divided into the categories of: CISC, RISC, hybrid, and special
purpose.
Complex Instruction Set Computers (CISC)
have a large instruction set, with hardware support for a wide variety of operations. In
scientific, engineering, and mathematical operations with hand coded assembly language (and
some business applications with hand coded assembly language), CISC processors usually perform
the most work in the shortest time.
Categories of microprocessor
Reduced Instruction Set Computers (RISC)
have a small, compact instruction set. In most business applications and in programs
created by compilers from high level language source, RISC processors usually perform the most
work in the shortest time.
Hybrid
processors are some combination of CISC and RISC approaches, attempting to balance the
advantages of each approach.
Special purpose
processors are optimized to perform specific functions. Digital signal processors and
various kinds of co-processors are the most common kinds of special purpose processors.
Microprocessor Architecture
Basic Components
CPU Registers
special memory locations constructed from flip-flops and implemented on-chip
e.g., accumulator, count register, flag register
Arithmetic and Logic Unit (ALU)
ALU is where most of the action take place inside the CPU
Bus Interface Unit (BIU)
responsible for controlling the address and data busses when accessing main
memory and data in the cache
Control Unit and Instruction Set
CPU has a fixed set of instructions to work on, e.g., MOV, CMP, JMP
System Architecture
Address Bus - provides a memory address to system memory and I/O address to system I/O
devices
Data Bus transfers - data between the microprocessor and the memory and I/O attached to the
system
Control Bus provides control signals that cause memory or I/O devices to perform a read or
write operation
A19
Address Bus
A0
Objectives:
1. Draw and explain the internal block diagram of CPU.
2. Calculate maximum address in a memory.
3. Identify data types stored in memory.