Module 1 - Introduction
Module 1 - Introduction
School of Engineering
IV Semester 2018-19
Evaluation Components
Continuous
NA 30 60
Evaluation
Quiz +
Assignment NA 20 40
End Term
Examination 120 50 100
Books
Prescribed Text Books
Microprocessors and Interfacing (SIE), 3rd ed. by Douglas
V. Hall & S.S.S.P. Rao, 3rd edition, Mc Graw Hill, 2012
Barry
B Brey, “The Intel Microprocessors”, 8 th edition,
Pearson , 2014.
Reference Book
Muhammad Ali Mazidi, “Microprocessors and
Microcontrollers”, First Impression, Pearson Education.
Module-1
Introduction
Organization of Computer Systems
Architecture of Computers
RISC and CISC
Microprocessor Evolution
Main Features of 8086
8086 Pin Diagram/Description
8086 Internal Architecture
Introduction
Computer Definition
Hardware
Passive Components
Active Components
Software
1.1 Organization of Computer Systems
Components of a Computer Device
Central Processing Unit
Main Memory
Secondary Memory Main Memory Device
I/O interfaces Controller
I/O
Devices Interface
Device
CPU Controller
Bidirectional
1.2 Architecture of Computers
Definition of architecture
2 types of architecture
Von Neumann architecture
Harvard architecture
Von Neumann architecture
John Von Neumann suggested that, data &
programs should be stored together in
memory. This is now called Von Neumann
architecture.
Hence this process being known as stored
program concept
Uses single memory space for program and
data
Limits operating bandwidth
Department Of Computer Science Presidency Universit 10
y
Von Neumann architecture Contd…..
Now the question is how it differentiate data and information?
When information is fetched from the main memory location
address through a Program Counter(PC) register, then that
information is a machine instruction
If the information is fetched with the address specified from any
other register, then that information is a data
Drawback of Von Neumann architecture
Channel bandwidth is finite
Processor can go no faster when this channel bandwidth is full
This performance limiting factor is called Von Neumann bottleneck
Harvard architecture
It has 2 memories-----one for
architecture & the other for data
Uses two separate memory spaces
for program instructions and data
Improved operating bandwidth
Allows for different bus widths
Increased bandwidth available due
to separate buses for instructions &
data
Disadvantage---storage is allocated
to instructions & data in a fixed ratio
Department Of Computer Science Presidency Universit 13
y
Department Of Computer Science Presidency Universit 14
y
RISC and CISC
Complex Instruction Set Computer(CISC)
Developed by Intel
Main idea is to minimize number of instructions per program,
sacrificing number of cycles per instruction
Computers based on CISC are designed to decrease the memory
cost
Largeprograms need more storage, as memory size increases it
becomes expensive
To solve these problems, number of instructions per program can
be reduced by embedding the number of operations in a single
instruction, thereby making the instructions more complex
Reduced Instruction Set Computer (RISC)
RISCarchitecture is used in portable devices due to its
power efficiency (Apple iPod)
Uses highly optimized set of instructions
Itreduces the cycles per instruction at the cost of the
number of instructions per program
Pipelining is the unique feature of RISC
Pipelining is performed by overlapping the execution of
several instructions in a pipeline fashion
Difference between RISC and CISC
CISC RISC
Control unit is hardwired only
Control Unit is hardwired &
microprogrammed Simple single clock instructions
Complex multi clock instruction Register reference instructions (except
Memory reference instructions LOAD and STORE)
More registers in CPU
Less registers in CPU
Minimum memory addressing modes
Maximum memory addressing modes
Large code sizes
Small code sizes
Fixed instruction length
Variable instruction length
Microprocessor Evolution
Microprocessor is a CPU on a single chip, consists of millions of transistors &
other electronic components that process millions of instructions per second
Microprocessor is a versatile chip, that is combined with memory & special
purpose chips & preprogrammed by a software
It accepts a digital data as input & process it according to the instructions
stored in the memory
1971
First microprocessor, intel 4004 which is a 4 bit bus
Speed was 60000 operations per second
2300 transistors based on 10-micron technology
It can address 640 bytes
It operates at 750 kHz
Contd……
1972
Intel introduces first 8 bit microprocessor intel 8008
It can address 16K bytes of memory
3500 transistors were used based on 10 micron technology
Speed was 60000 operations per second
1974
intel released its 2MHz 8080 chip, an 8 bity microprocessor
It can address 64K bytes of memory
6000 transistors were used based on 6 micron technology
Speed was 0.64 MIPS
Contd……
1978
Intel introduced 4.77 M Hz 8086 microprocessor.
It has 16 bit registers, 16 bit data bus
29000 transistors were used based on 3 micron technology
It can address 1 M bytes of memory
1979
Intel introduced 4.77 M Hz 8088 microprocessor.
It operates on 16 bits internally, but supports 8 bit data bits to
use existing 8 bit devices
29000 transistors were used based on 3 micron technology
It can address 1 M bytes of memory
Its speed is 0.33 M Hz
Contd………
1985
Intel introduced 6 M Hz 80286 microprocessor
134000 transistors were used based on 1.5 micron technology
Offers protected mode operation
It can address 16 M bytes of memory or 1 GB of Virtual memory
Its speed is 0.9 M Hz
1989
Intel announced 25 M Hz486 microprocessor
It integrated the 386, 387 math coprocessor & added an 8 KB primary cache
It used 1.2 million transistors based on 1 micron technology
Its speed is 20 MIPS
Contd…..
1991
Intel introduced 50 MHz 486 microprocessor.
Speed is 41 MIPS
1992
Intel introduced 486 SL processor designed for notebook computers.
Speed is 20 MHz. It can address 64MB of physical memory
1.4 million transistors were used based on 0.8 micron technology
1993
Intel introduced Pentium processor & used 32 bit registers with a 64 bit data bus
It can address 4GB of memory. Its speed was 60 MHz
3.1million transistors were used based on 0.8 micron technology
Contd…….
1994
Intel introduced 75 MHz Pentium processor. Speed was 126.5 MIPS.
It uses 3.2 million transistors based on 0.6 micron technology
1995
Intel released Pentium pro which contained 5.5 million transistors
1996
Intel released 150 MHz mobile pentium processor designed for use in
portable computers
1997
Intel released 7.7 million transistor Pentium II processor
Contd…….
1999
Intel released 450 MHz Pentium III processor. Its speed was 450 to 1.15 GHz
frequency
2000
Intel released Pentium IV operating at 2GHz
2005
Intel released its first desktop dual core processor called Pentium D
291 million transistors were used at 3.2 GHz initial speed.
Present status
Intel stops Pentium series and started Intel Core i3 series from 2012.
As of June 2018, the lineup of core processors included the Intel Core i9, Intel
Core i7, Intel Core i5 and Intel Core i3.
Chapter 2
maximum
Main Features of 8086 Contd….
It works in multiprocessor environment, control signals for
memory & I/O are generated by an external BUS controller
It can pre-fetch up to 6 instructions from memory & queues them
in order to speed up the execution
It requires +5V power supply
It uses a 40 pin dual in line package
8086 has 2 blocks
Bus Interfacing Unit (BIU)
Execution Unit (EU)
8086 pin diagram/description
Clock signal is given to pin 19. It
provides timing to the processor for
opertions. Its frequency is different
for different versions, i.e., 5MHz,
8MHz anmd 10 MHz
AD0-AD15 are the 16 address/data
bus. These are multiplexed memory
or I/O address and data bus
A16-A19/S3-S6 are the 4
address/status bus
BHE is used to indicate the transfer
of data using data bus D8-D15
8086 pin diagram contd…….
BHE is used to indicate the transfer of data using data bus D8-D15
Ready is an acknowledgement signal from I/O devices that data is transferred
RESET is used to restart the execution
INTR is generated by I/O devices to inform processor that device is ready for data transfer
INTA is generated by CPU on receiving INTR from I/O device
ALE
As address and data lines are multiplexed, at a time, either address or data will be
allowed to transfer through it.
When ALE=1, acts as address bus
When ALE=0, acts as data bus
NMI
When the processor does not want to ignore any I/O device, then it makes NMI of that
device as HIGH
8086 Internal
Architecture
Execution Unit
EU Executes Instructions
that have already been
fetched by the BIU.
BIU and EU functions
separately
IP = 4 2 1 4
Physical address= 5 F F E 0
Pointer & Index Registers in the EU
EU contains another 3 registers, Base Pointer (BP), Source Index (SI) and
Destination Index (DI) registers.
These are 16 bit registers used for temporary storage of data just like general
purpose registers
SI is used to hold the offset of a data word in the data segment. Physical
address of the data in memory will be generated by adding contents of SI to
segment base address represented by 16 bit number in DS register
DI can be used for pointer addressing of data & also used as destination in
some string processing instructions. Its offset address is relative to ES
BP is used to access parameters passed via the stack. Its offset address is
relative to SS