SlideShare a Scribd company logo
Chapter 3
The microprocessor is a programmable device
that takes in numbers, performs on them
arithmetic or logical operations according to the
program stored in memory and then produces
other numbers as a result
The block diagram includes 3 major logic devices:
◦ALU
◦Registers
◦Control Unit
The internal data bus is used to transmit data
between these logic devices.
 It contains microprocessors data processing logic.
 Has 2 inputs and 1 output.
 ALU performs the following functions on 8-bit variables :
o Add
o Subtract
o AND
o OR
o Exclusive OR
o Complement
o Shift Right
o Shift Left
o Increment
o Decrement
Registers are temporary storage locations inside the CPU that hold data
and addresses.
General Purposes Registers :-
 Microprocessor consists 6 general purpose registers of 8-bit each named as
B,C,D,E,H and L.
 Generally theses registers are not used for storing the data permanently. It
carries the 8-bits data. These are used only during the execution of the
instructions.
 These registers can also be used to carry the 16 bits data by making the pair
of 2 registers. The valid register pairs available are BC,DE HL. We can not
use other pairs except BC, DE and HL. These registers are programmed by
user.
Accumulator :-
 8-bit register
 It is used to perform arithmetical and logical operation.
 It stores the output of any operation.
 It also works as registers for i/o accesses.
Temporary Register :-
 8-bit register
 The programmer cannot access this temporary data register; it is
internally used for the execution of most of the arithmetic and logical
instructions. (also called as operand register because it provides
operands to ALU)
 Holds the data on which the accumulator is computing operation.
Flag Registers :-
 It is an 8-bit register.
 It consists of 5 flip flop which changes its status according to the result
stored in an accumulator.
 It is also known as status registers.
 It is connected to the ALU.
 There are five flip-flops in the flag register are as follows:
◦ Sign (S) : set if result of operation is negative.
◦ Zero (Z) : set if result of operation is zero.
◦ Auxiliary Carry (AC) : set when there is a carry out of lower 4 bits (lower
nibble) of operation.
◦ Parity (P) : set when result contains even no. of 1’s (even parity).
◦ Carry (CY) : set when there is carry generated by an operation.
Instruction registers :-
 It is a 8-bit register.
 When an instruction is fetched from memory then it is stored in
this register.
Instruction Decoder :-
 Instruction decoder identifies the instructions.
 It takes the information from instruction register and decodes the
instruction to be performed.
Program Counter :-
 It is a 16 bit register used as memory pointer.
 It stores the memory address of the next instruction to be executed.
 Microprocessor increments the program whenever an instruction is
being executed, so that the program counter points to the memory
address of the next instruction that is going to be executed. So we can
say that this register is used to sequencing the program.
Stack Pointer :-
 It is also a 16 bit register used as memory pointer.
 Data bus carries the data to be stored. It is bidirectional,
 It is also a 16 bit register used as memory pointer.
 It points to the memory location called stack.
 Generally stack is a reserved portion of memory where information
can be stores or taken back together.
Incrementer/Decrementer Latch
 16 bit register
 It is used to increment or decrement the contents of the program
counter or stack pointer as a part of execution of instructions related to
them.
 It provides timing and control signal to the microprocessor to
perform the various operation.
 It controls all external and internal circuits.
 The timing and control signals control external and internal
circuits
 It operates with reference to clock signal.
 It synchronizes all the data transfers.
Interrupt Control
 There are 5 interrupt signals in 8085 microprocessor
 It controls the interrupts during a process. When a microprocessor is
executing a main program and whenever an interrupt occurs, the
microprocessor shifts the control from the main program to process
the incoming request. After the request is completed, the control goes
back to the main program.
 Generally an external hardware is connected to these pins.
Serial Input Output Control
 There are two pins in this unit.
 This unit is used for serial data communication.
 The two instructions used for this serial data communication are:
◦ SID (Serial input data)
◦ SOD (Serial output data).
Status signal:
 There are three status signal used in microprocessor S0, S1 and IO/M.
 It changes its status according the provided input to these pins.
 Address buffer : 8-bit unidirectional buffer
 Address-Data bus : 8-bit bi-directional buffer.
 The content stored in the stack pointer and program counter is loaded
into the address buffer and address-data buffer to communicate with the
CPU.
 The memory and I/O chips are connected to these buses; the CPU can
exchange the desired data with the memory and I/O chips.
 They are used to transfer the Data & Address I/O devices.
 Address bus carries the location to where it should be stored and it is
unidirectional.
AD0 – AD7 :
• 8-bit data bus (D0 – D7) multiplexed with lower half (A0 – A7) of 16-bit
address bus.
A8 – A15 :
• The upper half of the 16-bit address appears on the address lines A8 – A15
• These lines are exclusively used for the most significant 8 bits of the 16-bit
address lines.
Data bus is used for data transfer.
Transmission of data will be in the form of
either electrical energy or light energy.
Advantages of optical data transmission:-
Fiber cable weighs less than copper cable
Digital light signals are not susceptible to
electromagnetic interference
 Serial Data Transmission :
◦ Only one binary digit is transmitted at a time. Each bit is transmitted for
only a short time period
◦ One pair of transmitting wires may be used to handle enormous amounts
of serial data.
◦ This type of system is referred to as time-sharing, because each
transmitted signal shares the wires for a short time interval
 Parallel Data Transmission:
◦ Continuous-type transmission requiring two wires for each signal to be
sent
◦ If information signals were transmitted in parallel form, hundreds of
wires might be required to perform a similar task
 Multiplexer is the circuit is
used to convert parallel
data into serial data.
 De-multiplexer is the circuit
used to convert parallel
data into a serial format.
 The Central control Unit
(CCU) is used to co-
ordinate the MUX/
DEMUX arrangement in
the transmission and
reception of data.

More Related Content

What's hot

Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
Kumar Anand Singh
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
tsajuraj
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
Suchismita Paul
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
Sumit Swain
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
Rishabh Kataria
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
varun sukheja
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
Mp 8085
Mp 8085Mp 8085
Mp 8085
sharan Kumar
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Radhika Patel
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
ShivamSood22
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
muneer.k
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
THANDAIAH PRABU
 

What's hot (18)

Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013Microprocessor 8085 architecture ppt. april 2013
Microprocessor 8085 architecture ppt. april 2013
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
Mp 8085
Mp 8085Mp 8085
Mp 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
 

Similar to Microprocessors

Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorIama Marsian
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
Mrunal Deshkar
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
HarshitParkar6677
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
Ravi Anand
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
Vijay Kumar
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
pavihari
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
rmkceteee
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
rohitkuarm5667
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
GurleenKaur408
 
Embeded system
Embeded systemEmbeded system
Embeded system
SUneel Gupta
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
VARUN BABUNELSON
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessorShifali Sharma
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
Vijay Kumar
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
Rishabh Kataria
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 

Similar to Microprocessors (20)

Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 

Recently uploaded

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 

Recently uploaded (20)

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 

Microprocessors

  • 2. The microprocessor is a programmable device that takes in numbers, performs on them arithmetic or logical operations according to the program stored in memory and then produces other numbers as a result
  • 3.
  • 4.
  • 5. The block diagram includes 3 major logic devices: ◦ALU ◦Registers ◦Control Unit The internal data bus is used to transmit data between these logic devices.
  • 6.
  • 7.  It contains microprocessors data processing logic.  Has 2 inputs and 1 output.  ALU performs the following functions on 8-bit variables : o Add o Subtract o AND o OR o Exclusive OR o Complement o Shift Right o Shift Left o Increment o Decrement
  • 8. Registers are temporary storage locations inside the CPU that hold data and addresses. General Purposes Registers :-  Microprocessor consists 6 general purpose registers of 8-bit each named as B,C,D,E,H and L.  Generally theses registers are not used for storing the data permanently. It carries the 8-bits data. These are used only during the execution of the instructions.  These registers can also be used to carry the 16 bits data by making the pair of 2 registers. The valid register pairs available are BC,DE HL. We can not use other pairs except BC, DE and HL. These registers are programmed by user.
  • 9. Accumulator :-  8-bit register  It is used to perform arithmetical and logical operation.  It stores the output of any operation.  It also works as registers for i/o accesses. Temporary Register :-  8-bit register  The programmer cannot access this temporary data register; it is internally used for the execution of most of the arithmetic and logical instructions. (also called as operand register because it provides operands to ALU)  Holds the data on which the accumulator is computing operation.
  • 10. Flag Registers :-  It is an 8-bit register.  It consists of 5 flip flop which changes its status according to the result stored in an accumulator.  It is also known as status registers.  It is connected to the ALU.  There are five flip-flops in the flag register are as follows: ◦ Sign (S) : set if result of operation is negative. ◦ Zero (Z) : set if result of operation is zero. ◦ Auxiliary Carry (AC) : set when there is a carry out of lower 4 bits (lower nibble) of operation. ◦ Parity (P) : set when result contains even no. of 1’s (even parity). ◦ Carry (CY) : set when there is carry generated by an operation.
  • 11. Instruction registers :-  It is a 8-bit register.  When an instruction is fetched from memory then it is stored in this register. Instruction Decoder :-  Instruction decoder identifies the instructions.  It takes the information from instruction register and decodes the instruction to be performed.
  • 12. Program Counter :-  It is a 16 bit register used as memory pointer.  It stores the memory address of the next instruction to be executed.  Microprocessor increments the program whenever an instruction is being executed, so that the program counter points to the memory address of the next instruction that is going to be executed. So we can say that this register is used to sequencing the program.
  • 13. Stack Pointer :-  It is also a 16 bit register used as memory pointer.  Data bus carries the data to be stored. It is bidirectional,  It is also a 16 bit register used as memory pointer.  It points to the memory location called stack.  Generally stack is a reserved portion of memory where information can be stores or taken back together. Incrementer/Decrementer Latch  16 bit register  It is used to increment or decrement the contents of the program counter or stack pointer as a part of execution of instructions related to them.
  • 14.  It provides timing and control signal to the microprocessor to perform the various operation.  It controls all external and internal circuits.  The timing and control signals control external and internal circuits  It operates with reference to clock signal.  It synchronizes all the data transfers.
  • 15. Interrupt Control  There are 5 interrupt signals in 8085 microprocessor  It controls the interrupts during a process. When a microprocessor is executing a main program and whenever an interrupt occurs, the microprocessor shifts the control from the main program to process the incoming request. After the request is completed, the control goes back to the main program.  Generally an external hardware is connected to these pins.
  • 16. Serial Input Output Control  There are two pins in this unit.  This unit is used for serial data communication.  The two instructions used for this serial data communication are: ◦ SID (Serial input data) ◦ SOD (Serial output data).
  • 17. Status signal:  There are three status signal used in microprocessor S0, S1 and IO/M.  It changes its status according the provided input to these pins.
  • 18.  Address buffer : 8-bit unidirectional buffer  Address-Data bus : 8-bit bi-directional buffer.  The content stored in the stack pointer and program counter is loaded into the address buffer and address-data buffer to communicate with the CPU.  The memory and I/O chips are connected to these buses; the CPU can exchange the desired data with the memory and I/O chips.
  • 19.  They are used to transfer the Data & Address I/O devices.  Address bus carries the location to where it should be stored and it is unidirectional. AD0 – AD7 : • 8-bit data bus (D0 – D7) multiplexed with lower half (A0 – A7) of 16-bit address bus. A8 – A15 : • The upper half of the 16-bit address appears on the address lines A8 – A15 • These lines are exclusively used for the most significant 8 bits of the 16-bit address lines.
  • 20. Data bus is used for data transfer. Transmission of data will be in the form of either electrical energy or light energy. Advantages of optical data transmission:- Fiber cable weighs less than copper cable Digital light signals are not susceptible to electromagnetic interference
  • 21.  Serial Data Transmission : ◦ Only one binary digit is transmitted at a time. Each bit is transmitted for only a short time period ◦ One pair of transmitting wires may be used to handle enormous amounts of serial data. ◦ This type of system is referred to as time-sharing, because each transmitted signal shares the wires for a short time interval  Parallel Data Transmission: ◦ Continuous-type transmission requiring two wires for each signal to be sent ◦ If information signals were transmitted in parallel form, hundreds of wires might be required to perform a similar task
  • 22.  Multiplexer is the circuit is used to convert parallel data into serial data.  De-multiplexer is the circuit used to convert parallel data into a serial format.  The Central control Unit (CCU) is used to co- ordinate the MUX/ DEMUX arrangement in the transmission and reception of data.