Microprocessor Lec 1-4
Microprocessor Lec 1-4
Microprocessors
Tutorial/assignments (8)
Quiz/Presentation (8)
Attendance/Class response (8)
Course structure
Basic Terminology, Evolution of Microprocessors, State of Art of uP, Why we study 8085 uP?
Pin diagram, Detailed Internal Architecture, State Transition Diagrams, T- states (clock
cycles), Machine Cycles, Instruction Cycles, Instruction Formats, Different Addressing Modes,
Complete Description of all instructions with macro and micro RTL (Register Transfer
language), Programming examples, Simulation of time delays.
Concept of fold back addresses, Memory maps, Memory mapped I/O, Isolated 1/0, Interfacing
of seven segment LED display, Toggle switches, Keyboard interfacing, Memory interfacing
Simplification of interfacing circuitry with the help of decoders, General purpose
programmable peripheral devices, Interfacing of A/D and D/A conversion devices, Some
illustrative examples of Microprocessor Applications.
Books Recommended
Introduction to microprocessors
CPU
ALU
Registers
Memory
Memory
RAM/ROM
ALU
Serial
Control Unit
Buses Communication
Registers
Microprocessor
Timer I/O
Memory Timer
CPU
RAM/ROM
Counter
ALU
Microcontroller
Microprocessor Microcontroller
History of Microprocessors
Fair child semiconductors (founded in 1957) invented the first Integrated Circuit in 1959
that marked the microprocessor history. In 1968, Gordan Moore, Robert Noyce and
Andrew Grove resigned from the Fair child semiconductors and started their own company:
Integrated Electronics (Intel). In 1971, the first microprocessor Intel 4004 was invented.
Generation of Microprocessors
First Generation
This was the period during 1971 to 1973 of microprocessor’s history. In 1971, INTEL
created the first microprocessor 4004 (NMOS) that would run at a clock speed of 108 KHz.
With only 4 bits as the word size, the 4004 could only represent signed numbers in the range
-8 to +7, which is indeed very small. Memory capacity of 640 Bytes. So, it was not really of
practical use for arithmetic calculations. However, it found applications in controlling devices.
Second Generation
Intel 8008 was the next in the evolution in 1972, the first 8-bit microprocessor with 16 kB
capacity. This was soon followed by Intel 8080 (NMOS), also an 8-bit microprocessor with 64 kB
capacity and 2MHz clock speed. Then Intel 8085 (NMOS) in 1977, 8-bit, 3 MHz and 64 kB capacity.
Intel 8080 was the first commercially popular 8-bit microprocessor. With 8 bits as the word size, it
could represent signed numbers in the range of -128 to +127. This is also not a good enough range
for performing arithmetic calculations. Thus, the 8080 also was used only for control applications.
Third Generation
Around 1978, Intel released 8086 (HMOS), the first 16-bit microprocessor. With 16-bit word
size, it was possible to represent signed numbers in the range of -32,768 to +32,767, which is
quite a decent range for performing arithmetic calculations. As such, this processor became very
popular not only for control applications, but also for number crunching operations. Speeds of
those processors were four times better than the 2nd generation processors.
Fourth Generation
In the early 80s, Intel released the 32-bit processor, the Intel 80386, by using HCMOS
fabrication. With 32-bit word size, it was possible to represent signed numbers in the range
±2x10^9 which is quite a large range for performing arithmetic calculations. If floating point
notation is used, it can represent much larger numbers. As such, this processor became very
popular as the CPU in computers for number crunching operations.
Fifth Generation
From 1995 to until now this generation has been bringing out high-performance and
high-speed processors that make use of 64-bit processors. The present-day computers
based on microprocessors are already faster than the mini computers and sometimes the
main frame computers.
👉 It provides a simple and accessible way to learn key concepts like registers, addressing
modes, instruction sets, and basic CPU operations.
👉 Develops basis for understanding more complex modern processors, even though it is
considered outdated by today's standards; making it a valuable tool for beginners in
computer engineering and electronics fields.
Terminology
Program: A set of instructions written in a specific sequence for the computer to accomplish
a given task.
Programming languages
Low-level language
Machine language: Binary medium of communication with a computer through designed set of
instructions specific to each computer.
Assembly language: A medium of communication with a computer in which programs are written is
mnemonics.
High-level language
Independent of a given computer, programs are written in English-like words, and they can
be executed on a machine using a written translator (a compiler or an interpreter).
Language Translators
High-level/ Low-level/
Assembly language Language Translators Machine language
(Compiler, Interpreter, Assembler)
Compiler: A program that translates High-level language into the machine language.
It compiles whole program in one-go and reports errors if any.
Compiler
Object code
Source code
C, C++
Microprocessor Architecture
Logic design
CPU + main memory + I/O + Secondary memory Enhanced version, separate instruction memory
Stored program concept e.g., 8085, 8086 and data memory e.g., Intel pentium
address
address
Data
Von- Data Memory
Data &
Harvard
Neumann Code address
CPU
CPU Memory Code
Memory
Data/Code Code
5. Data transfers and instruction fetches 5. Data transfers and instruction fetches
cannot be performed simultaneously. can be performed at the same time.
Comparison summary
Memory
Memory Type
Buses
Program Execution
Control Signals/Space/Cost