Jimma University
Jimma Institute of Technology
Faculty of Electrical and Computer Engineering
Microcomputer and interfacing
(ECEg4171)
1
Course objectives
• Be familiar with 8086 microprocessor
architecture
• Be familiar with Assembly Language
Programming for 8086 architecture.
• Understanding 8086 microprocessor
interfacing to different peripherals
2
Prerequisite
• Computer Architecture and
Organization
3
8086 microprocessors
4
History of computer
• We may classify the history of a computer using
the main technology that is used to implement
it. Thus we may classify them as
– Mechanical age
– Electrical age
– Microprocessor age
5
History of computer (mechanical age)
• The first generation computer use mechanical
technology (e.g. Abacus 500 B.C.)
• Abacus is the first mechanical calculator
• Applied for grain amount calculation
6
History of computer: mechanical age
• Pascaline
– Invented by Blaise Pascal In 1642
– It is constructed of gears and wheels.
Difference engine and Analytical Engine
Proposed by Charles Babbage
Machinists of his day unable to create the parts needed to
complete his work
7
1832 Babbage invented mechanical calculated
machine
8
The Electrical Age:
• Z3 electromechanical computer
– Invented by German Konrad Zuse,
– Uses relay as a main building blocks
– It has a speed of 5.33 hz.
– Invented for aircraft and missile design application
during World War II for the German war effort
9
10
ENIAC (electronics numeric integrator and
calculator)
11
EDVAC
12
The Microprocessor Age
• What is Microprocessor?
– It is also called CPU (central processing unit).
– It is the brain of a computer
– It is the controlling element in a computer system.
– Controls memory and I/O through connections
called buses.
– Memory and I/O controlled via instructions stored
in memory, executed by the microprocessor.
13
Microprocessors
14
The microprocessors age
• The two basic technology that enable the
invention of Microprocessor are
– Transistor technology
Invented by John Bardeen, William Shockley, and Walter
Brattain at Bell Labs in December 23, 1947,
– Integrated Circuit (IC) technology
• Jack Kill at Texas Instruments In 1958
• Using these two technologies 4004 which is the
first microprocessor ever was developed
– By Federico Faggin, Ted Hoff, and Stan Mazor At Intel
Corporation in 1971
• 4004 microprocessor began the microprocessor age.
15
The Microprocessor Age
(4004 processor)
• Intel 4004 is the World’s first microprocessor ever
developed
– It is a 4-bit microprocessor-programmable controller
on a chip.
– It has 50kIP speed
– Addressed 4096 (4Kb), 4-bit-wide memory locations.
– a bit is a binary digit with a value of one or zero
– 4-bit-wide memory location often called a Nibble
– The 4004 instruction set contained 45 instructions.
16
history of Intel microprocessor
17
Evolution of intel Microprocessor
18
Evolution of the Intel processors
19
Some of Intel processors
20
Other microprocessor producers
21
The factors that change as Microprocessor
evolve
Speed,
• Word width, and
• Memory size
• Number and type of instruction set
• Physical Size
• Physical size (weight and volume)
• Cost
• Power consumption and dissipation
• Etc.
22
What is a microcomputer system?
• Block diagram of a digital computer
Memory
Input CPU Output
• Block diagram of a microcomputer system
Memory
Input Microprocessor Output
23
Architecture of microcomputer
24
Microprocessor based computers
25
application of microcomputers
26
Some computer terminology
• Numbering systems
– Digits
• Binary
• Octal
• Hexadecimal
– Conversion from one base system to other
• From decimal to
– Hexadecimal
– Octal
– Binary
• Whole number Vs fractional conversion
27
28
Conclusion
• The microprocessor is the controlling element in a
computer system.
• The micro-processor performs
• Data transfers,
• Does simple arithmetic and
• Logic operations, and
• Makes simple decisions.
• The microprocessor executes programs stored in the
memory system to perform complex operations in short
periods of time.
29
Conclusion (conti…)
• The world's first microprocessor, the Intel 4004, was a
4-bit microprocessor-a programmable controller on a
chip which
– Addressed a mere 4096 4-bit memory locations.
– And has only 45 instruction set.
• All other Intel microprocessor are upward
compatible
30
Conclusion (conti…)
• All computer systems contain three buses to control
memory and I/O.
• Address bus
• The data bus
• The control bus
31