SlideShare a Scribd company logo
1 of 23
Download to read offline
1. General overview of microprocessor
2. Memory interfacing
What Microprocessor is ?
Multipurpose, Programmable, Clock driven
Electronics device or IC
Fetch: Microprocessor first brings the
instruction from Memory to CPU
Basic Operations of Microprocessor
Decode: Understands that instruction
Execution: Performs the required task
Basic parts of a μP Based System
• CPU (μP)
• Memory
• I/O devices
According to computer architecture, a bus is defined as a single
or set of wires that transfers data between hardware
components of a computer or between two separate computers.
Types of Buses
Bus
Types of Buses
Address Bus
Data Bus
Control Bus
Control Bus
 Generally contains one wire
 Generates control signals
 Some control signals are Read, Write and
Opcode fetch etc.
Data Bus
A set of bidirectional wires
Sends or receives data or information
Number of wires used in a data bus is known as its
widthwidth
A microprocessor is generally known with its data bus
width
There are two types of data transfer; Serial data
transfer and Parallel data transfer
Address Bus
 A set of unidirectional wires are used to
select a device
 With nn – digit numbering system we can With nn – digit numbering system we can
addressed maximum 22nn number of houses
 Microprocessor having 16 bit address bus
can communicate with 221616 or 65,53665,536
numbers of devices
Microprocessor Architecture
ALU
Register
Array
Contains various
registers that store
data temporarily
during program
execution.
It performs various
arithmetic and
Control Unit
It provides necessary timing and control
signals during program execution
arithmetic and
logical functions
First Generation
Between 1971 – 1973
PMOS technology, non compatible with TTL
4 bit processors  16 pins
8 and 16 bit processors  40 pins
Due to limitations of pins, signals are
multiplexed
Second Generation
During 1973
NMOS technology  Faster speed, Higher
density, Compatible with TTL
4 / 8/ 16 bit processors  40 pins
Ability to address large memory spaces
and I/O ports
Greater number of levels of subroutine
nesting
Better interrupt handling capabilities
Intel 8085 (8 bit processor)
Third Generation
During 1978
HMOS technology  Faster speed, Higher
packing density
16 bit processors  40/ 48/ 64 pins
Historical Background
16 bit processors  40/ 48/ 64 pins
Easier to program
Dynamically relatable programs
Processor has multiply/ divide arithmetic
hardware
More powerful interrupt handling
capabilities
Flexible I/O port addressing
Intel 8086 (16 bit processor)
Fourth Generation
During 1980s
Low power version of HMOS technology
(HCMOS)
32 bit processors
Physical memory space 224 bytes = 16 Mb
Virtual memory space 240 bytes = 1 Tb
Floating point hardware
Supports increased number of addressing
modes
Intel 80386
Fifth Generation Pentium
MEMORY
A single Flip-Flop / Capacitor can store one
bit – 0 or 1
8 Flip-Flops together will form an 8-bit
RegisterRegister
An 8-bit register can stores 8-bit or 1 Byte
data
A set of 8-bit register will form a
Memory
Ten 8-bit registers
i.e. 10 bytes of
memorymemory
can store 10 bytes
of data
10 x 8 bit memory
Or
10 byte memory
11 Register 3
10 Register 2
01 Register 1
00 Register 0
Accessing Memory or Memory Interfacing
2 to 4 Decoder
00
01
10
11
A0
A1
Calculate the address lines required for 10 K Byte
memory chip
1 K Byte = 1024 Byte of memory
Then 10 K Byte = 10 x 1024 Byte of memory
i.e. this memory chip has 10240 number of 8-bit registers
(default register size is 8-bit)(default register size is 8-bit)
Consider n number of address lines required
Then 2n = 10240
Or n = 13.32 ≈ 14
So 14 number of address lines required
Consider the number of address lines are 13. Calculate
the number of memory chips required to access total
address space if each memory chip is 1024 x 8 bit
Total addressable space using 13 address line is
213 Byte = 23 x 210 Byte = 8 x 1024 Byte = 8 K Byte
Each memory chip is 1024 x 8 bit
= 1024 Byte
Number of memory chip required
(8 x 1024)
1024
= 8
Accessing memory can be summarized into the following
three steps:
 Select the chip.
 Identify the memory register.
 Enable the appropriate buffer.
The microprocessor having N number of wires in its
address bus; uses part of the address bus to select the
The microprocessor having N number of wires in its
address bus; uses part of the address bus to select the
chip and the remaining part goes through the address
decoder to select the register.
The control signals IO/M (to select I/O device or
memory), WR (enable writing) and RD (enable reading)
are used to activate the operation.
Consider a microprocessor having 16 bit Address Bus
 Maximum addressable memory space
216 Byte = 210. 26 Byte = 26 KByte = 64 KByte
 Starting address will be
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 And last address will be And last address will be
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
 It is more convenient to use Hexadecimal number
 In Hex code starting and last address will be
0000 H and FFFF H
Explain the memory address range
A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000H
0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0FFFH
A15
A14
A13
A12
A11
A10
A9
Draw the memory map to access 256 Byte
memory using 16 bit address line
256 Byte
A7
A6
A5
CS
A9
A8
A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address
0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 7F00H
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7FFFH
256 Byte
Memory
A4
A3
A2
A1
A0
For addressing 256 Byte memory we
required only 8 address line (A0 to A7).
Remaining 8 address lines (A8 to A15) is
used of chip selection
Memory
Primary
Memory
RAM ROM
Secondary
Memory
Hard Disk,
Memory
Classification
RAM
Static RAM
Dynamic
RAM
ROM
Erasable
EPROM EEPROM
Flash
Memory
Permanent
Masked
ROM
PROM
Hard Disk,
Floppy, CD
Random Access Memory (RAM)
• Stores bit as voltage
• High speed
• More expensive
• High power consumption
Static RAM (SRAM)
• High power consumption
• Stores bit as charge
• Low speed
• Less expensive
• Low power consumption
• Requires frequent refreshing
Dynamic RAM (DRAM)
Read Only Memory (ROM)
Masked ROM
• Bit pattern is permanently masked
Programmable ROM (PROM)
• Program is burnt into the memory only once
Erasable PROM (EPROM)
• Program can be erased using UV ray
Electrically EPROM (EEPROM)
• Program can be erased using electrical signals
Flash Memory
• It can be erased and reprogrammed a million times

More Related Content

What's hot

Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Siraj Ahmed
 
MAI-introduction of memory and i/o device with 8085
MAI-introduction of memory and i/o device with 8085MAI-introduction of memory and i/o device with 8085
MAI-introduction of memory and i/o device with 8085Ðîgëñ Tàìlør
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Rishikesh Bhavsar
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085muneer.k
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modesbalbirvirdi
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085Nitin Ahire
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or MemorySaumay Paul
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessorRamesh Dabhole
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086Umang Dhuri
 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorNikhil Kumar
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturedeval patel
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 808582338476
 

What's hot (20)

Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
MAI-introduction of memory and i/o device with 8085
MAI-introduction of memory and i/o device with 8085MAI-introduction of memory and i/o device with 8085
MAI-introduction of memory and i/o device with 8085
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
8086 new
8086 new8086 new
8086 new
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
8086 ppt
8086 ppt8086 ppt
8086 ppt
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
 
Chapter5
Chapter5Chapter5
Chapter5
 
Lecture2
Lecture2Lecture2
Lecture2
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
PIN Specification of 8086 Microprocessor
PIN Specification of 8086 MicroprocessorPIN Specification of 8086 Microprocessor
PIN Specification of 8086 Microprocessor
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 

Similar to Microprocessor Part 1

Micro[processor
Micro[processorMicro[processor
Micro[processorcollege
 
Microprocessor 8086 nitin_p
Microprocessor 8086 nitin_pMicroprocessor 8086 nitin_p
Microprocessor 8086 nitin_pnitinahire15
 
Microprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireMicroprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireNitin Ahire
 
8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1logesh.ieee
 
8086 architecture and pin description
8086 architecture and pin description 8086 architecture and pin description
8086 architecture and pin description Aswini Dharmaraj
 
Students corner131
Students corner131Students corner131
Students corner131Satti286
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorVikas Gupta
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesGauravDaware2
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copymkazree
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxGobinathAECEJRF1101
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.pptJamesAlpha3
 
8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptxbinaboss24
 
UNIT-II-8086.pptx
UNIT-II-8086.pptxUNIT-II-8086.pptx
UNIT-II-8086.pptxparul757596
 
Session01_Intro.pdf
Session01_Intro.pdfSession01_Intro.pdf
Session01_Intro.pdfRahnerJames
 
Notes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfNotes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfVisheshYadav38
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessorRavi Yasas
 

Similar to Microprocessor Part 1 (20)

Micro[processor
Micro[processorMicro[processor
Micro[processor
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Microprocessor 8086 nitin_p
Microprocessor 8086 nitin_pMicroprocessor 8086 nitin_p
Microprocessor 8086 nitin_p
 
Microprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireMicroprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahire
 
8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1
 
8086 architecture and pin description
8086 architecture and pin description 8086 architecture and pin description
8086 architecture and pin description
 
Students corner131
Students corner131Students corner131
Students corner131
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
 
Chp3 designing bus system, memory & io copy
Chp3 designing bus system, memory & io   copyChp3 designing bus system, memory & io   copy
Chp3 designing bus system, memory & io copy
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
8086slide
8086slide8086slide
8086slide
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx
 
UNIT-II-8086.pptx
UNIT-II-8086.pptxUNIT-II-8086.pptx
UNIT-II-8086.pptx
 
Session01_Intro.pdf
Session01_Intro.pdfSession01_Intro.pdf
Session01_Intro.pdf
 
8086 mprocessor.pptx
8086 mprocessor.pptx8086 mprocessor.pptx
8086 mprocessor.pptx
 
Notes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfNotes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdf
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 

Recently uploaded

COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 

Recently uploaded (20)

COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 

Microprocessor Part 1

  • 1. 1. General overview of microprocessor 2. Memory interfacing
  • 2. What Microprocessor is ? Multipurpose, Programmable, Clock driven Electronics device or IC
  • 3. Fetch: Microprocessor first brings the instruction from Memory to CPU Basic Operations of Microprocessor Decode: Understands that instruction Execution: Performs the required task
  • 4. Basic parts of a μP Based System • CPU (μP) • Memory • I/O devices
  • 5. According to computer architecture, a bus is defined as a single or set of wires that transfers data between hardware components of a computer or between two separate computers. Types of Buses Bus Types of Buses Address Bus Data Bus Control Bus
  • 6. Control Bus  Generally contains one wire  Generates control signals  Some control signals are Read, Write and Opcode fetch etc.
  • 7. Data Bus A set of bidirectional wires Sends or receives data or information Number of wires used in a data bus is known as its widthwidth A microprocessor is generally known with its data bus width There are two types of data transfer; Serial data transfer and Parallel data transfer
  • 8. Address Bus  A set of unidirectional wires are used to select a device  With nn – digit numbering system we can With nn – digit numbering system we can addressed maximum 22nn number of houses  Microprocessor having 16 bit address bus can communicate with 221616 or 65,53665,536 numbers of devices
  • 9. Microprocessor Architecture ALU Register Array Contains various registers that store data temporarily during program execution. It performs various arithmetic and Control Unit It provides necessary timing and control signals during program execution arithmetic and logical functions
  • 10. First Generation Between 1971 – 1973 PMOS technology, non compatible with TTL 4 bit processors  16 pins 8 and 16 bit processors  40 pins Due to limitations of pins, signals are multiplexed Second Generation During 1973 NMOS technology  Faster speed, Higher density, Compatible with TTL 4 / 8/ 16 bit processors  40 pins Ability to address large memory spaces and I/O ports Greater number of levels of subroutine nesting Better interrupt handling capabilities Intel 8085 (8 bit processor) Third Generation During 1978 HMOS technology  Faster speed, Higher packing density 16 bit processors  40/ 48/ 64 pins Historical Background 16 bit processors  40/ 48/ 64 pins Easier to program Dynamically relatable programs Processor has multiply/ divide arithmetic hardware More powerful interrupt handling capabilities Flexible I/O port addressing Intel 8086 (16 bit processor) Fourth Generation During 1980s Low power version of HMOS technology (HCMOS) 32 bit processors Physical memory space 224 bytes = 16 Mb Virtual memory space 240 bytes = 1 Tb Floating point hardware Supports increased number of addressing modes Intel 80386 Fifth Generation Pentium
  • 12. A single Flip-Flop / Capacitor can store one bit – 0 or 1 8 Flip-Flops together will form an 8-bit RegisterRegister An 8-bit register can stores 8-bit or 1 Byte data
  • 13. A set of 8-bit register will form a Memory Ten 8-bit registers i.e. 10 bytes of memorymemory can store 10 bytes of data 10 x 8 bit memory Or 10 byte memory
  • 14. 11 Register 3 10 Register 2 01 Register 1 00 Register 0 Accessing Memory or Memory Interfacing 2 to 4 Decoder 00 01 10 11 A0 A1
  • 15. Calculate the address lines required for 10 K Byte memory chip 1 K Byte = 1024 Byte of memory Then 10 K Byte = 10 x 1024 Byte of memory i.e. this memory chip has 10240 number of 8-bit registers (default register size is 8-bit)(default register size is 8-bit) Consider n number of address lines required Then 2n = 10240 Or n = 13.32 ≈ 14 So 14 number of address lines required
  • 16. Consider the number of address lines are 13. Calculate the number of memory chips required to access total address space if each memory chip is 1024 x 8 bit Total addressable space using 13 address line is 213 Byte = 23 x 210 Byte = 8 x 1024 Byte = 8 K Byte Each memory chip is 1024 x 8 bit = 1024 Byte Number of memory chip required (8 x 1024) 1024 = 8
  • 17. Accessing memory can be summarized into the following three steps:  Select the chip.  Identify the memory register.  Enable the appropriate buffer. The microprocessor having N number of wires in its address bus; uses part of the address bus to select the The microprocessor having N number of wires in its address bus; uses part of the address bus to select the chip and the remaining part goes through the address decoder to select the register. The control signals IO/M (to select I/O device or memory), WR (enable writing) and RD (enable reading) are used to activate the operation.
  • 18. Consider a microprocessor having 16 bit Address Bus  Maximum addressable memory space 216 Byte = 210. 26 Byte = 26 KByte = 64 KByte  Starting address will be 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  And last address will be And last address will be 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1  It is more convenient to use Hexadecimal number  In Hex code starting and last address will be 0000 H and FFFF H
  • 19. Explain the memory address range A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000H 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0FFFH
  • 20. A15 A14 A13 A12 A11 A10 A9 Draw the memory map to access 256 Byte memory using 16 bit address line 256 Byte A7 A6 A5 CS A9 A8 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 7F00H 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7FFFH 256 Byte Memory A4 A3 A2 A1 A0 For addressing 256 Byte memory we required only 8 address line (A0 to A7). Remaining 8 address lines (A8 to A15) is used of chip selection
  • 21. Memory Primary Memory RAM ROM Secondary Memory Hard Disk, Memory Classification RAM Static RAM Dynamic RAM ROM Erasable EPROM EEPROM Flash Memory Permanent Masked ROM PROM Hard Disk, Floppy, CD
  • 22. Random Access Memory (RAM) • Stores bit as voltage • High speed • More expensive • High power consumption Static RAM (SRAM) • High power consumption • Stores bit as charge • Low speed • Less expensive • Low power consumption • Requires frequent refreshing Dynamic RAM (DRAM)
  • 23. Read Only Memory (ROM) Masked ROM • Bit pattern is permanently masked Programmable ROM (PROM) • Program is burnt into the memory only once Erasable PROM (EPROM) • Program can be erased using UV ray Electrically EPROM (EEPROM) • Program can be erased using electrical signals Flash Memory • It can be erased and reprogrammed a million times