SlideShare a Scribd company logo
Unit - 2
8085 MICROPROCESSOR AND 8051
MICROCONTROLLER
Internal Architecture of 8085
Internal Architecture of 8085
Address bus :
• The address bus is a group of 16 lines generally identified as A0 to A15.
• The address bus is unidirectional : bits flow in one direction-from the MPU to
peripheral devices.
• The MPU (Memory Protection Unit) uses the address bus to perform the first
function : identifying a peripheral or a memory location.
Internal Architecture of 8085
Data bus :
• The data bus is a group of eight lines used for data flow.
• These lines are bi-directional - data flow in both directions between the MPU and
• memory and peripheral devices.
• The MPU uses the data bus to perform the second function: transferring binary
information.
Control bus :
• The control bus carries synchronization signals and providing timing signals.
• The MPU generates specific control signals for every operation it performs.
• These signals are used to identify a device type with which the MPU wants to
communicate.
Internal Architecture of 8085
Registers of 8085 :
• The 8085 have six general - purpose registers to store 8-bit data during program
execution.
• These registers are identified as B, C, D, E, H, and L.
• They can be combined as register pairs - BC, DE, and HL - to perform some 16 - bit
operations.
Accumulator (A) :
• The accumulator is an 8 - bit register that is part of the arithmetic/logic unit (ALU).
• This register is used to store 8-bit data and to perform arithmetic and logical
operations.
• The result of an operation is stored in the accumulator.
Internal Architecture of 8085
Flags :
• The ALU includes five flip-flops that are set or reset according to the result of an
• operation.
• The microprocessor uses the flags for testing the data conditions.
• They are Zero (Z), Carry (CY), Sign (S), Parity (P) and Auxiliary Carry (AC) flags.
• The most commonly used flags are Sign, Zero and Carry.
• The bit position for the flags in flag register is Accumulator (A)
Sign flag (S) :
• After execution of any arithmetic and logical operation, if D7 of the result is 1, the sign flag is set.
• If D, is 1, the number will be viewed as negative number. If D7 is 0, the number will be viewed as
positive number.
Zero flag (z) :
• If the result of arithmetic and logical operation is zero, then zero flag is set, otherwise it is reset.
Internal Architecture of 8085
Arithmetic and Logic Unit (ALU) :
• It is used to perform the arithmetic operations like addition, subtraction, multiplication,
division, increment and decrement and logical operations like AND, OR and EX-OR.
• It receives the data from accumulator and registers.
• According to the result it set or reset the flags.
Program Counter (PC) :
• This 16-bit register sequencing the execution of instructions.
• It is a memory pointer. Memory locations have 16-bit addresses, and that is why
• this is a 16-bit register.
• The function of the program counter is to point to the memory address of the next
• instruction to be executed.
Internal Architecture of 8085
Stack Pointer (SP) :
• The stack pointer is also a 16-bit register used as a memory pointer.
• It points to a memory location in R/W memory, called the stack.
• The beginning of the stack is defined by loading a 16-bit address in the stack pointer (register).
Temporary Register :
It is used to hold the data during the arithmetic and logical operations.
Instruction Register :
When an instruction is fetched from the memory, it is loaded in the instruction register.
Instruction Decoder :
It gets the instruction from the instruction register and decodes the instruction. It identifies the
instruction to be performed.
Serial I/O Control :
It has two control signals named SID and SOD for serial data transmission.
Internal Architecture of 8085
Timing and Control Unit :
• It has three control signals ALE (Address Enable Latch), RD (Active low) and
WR (Active low) and three status signals IO/M(Active low).
• ALE is used for provide control signal to synchronize the components of
• microprocessor and timing for instruction to perform the operation.
• RD (Active low) and WR (Active low) are used to indicate whether the
operation is reading the data from memory or writing the data into memory
respectively.
• IO/M (Active low) is used to indicate whether the operation is belongs to the
memory or peripherals.
Internal Architecture of 8085
Interrupt Control Unit :
• It receives hardware interrupt signals and sends an acknowledgement for
receiving the interrupt signal.

More Related Content

Similar to Mechatronics UNIT 2.pptx

Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 
Computer system architecture (microprocessor 8085) unit 4
Computer system architecture (microprocessor 8085) unit  4Computer system architecture (microprocessor 8085) unit  4
Computer system architecture (microprocessor 8085) unit 4
Anjaan Gajendra
 
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
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
rohitkuarm5667
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
RJ Aniket
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
VARUN BABUNELSON
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
Navya Sethu
 
microprocessor .pptx
microprocessor .pptxmicroprocessor .pptx
microprocessor .pptx
Akshit Jain
 
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 microprocessor
GurleenKaur408
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
SELVAPRIYAA2
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorIama Marsian
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
BLACKSPAROW
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
Ameen San
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notesRavali Sunki
 

Similar to Mechatronics UNIT 2.pptx (20)

Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Computer system architecture (microprocessor 8085) unit 4
Computer system architecture (microprocessor 8085) unit  4Computer system architecture (microprocessor 8085) unit  4
Computer system architecture (microprocessor 8085) unit 4
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
microprocessor .pptx
microprocessor .pptxmicroprocessor .pptx
microprocessor .pptx
 
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
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
 
c++
c++ c++
c++
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 

More from ssuser823c58

1 PPT Metal Cutting 30-04-2020.pdf
1 PPT Metal Cutting 30-04-2020.pdf1 PPT Metal Cutting 30-04-2020.pdf
1 PPT Metal Cutting 30-04-2020.pdf
ssuser823c58
 
PPT.pdf
PPT.pdfPPT.pdf
PPT.pdf
ssuser823c58
 
Micro Controller.pptx
Micro Controller.pptxMicro Controller.pptx
Micro Controller.pptx
ssuser823c58
 
Stepper Motor.pptx
Stepper Motor.pptxStepper Motor.pptx
Stepper Motor.pptx
ssuser823c58
 
8255 PPI.pptx
8255 PPI.pptx8255 PPI.pptx
8255 PPI.pptx
ssuser823c58
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
ssuser823c58
 
Pin Configuration.pptx
Pin Configuration.pptxPin Configuration.pptx
Pin Configuration.pptx
ssuser823c58
 
Joining of metal and plastic.pptx
Joining of metal and plastic.pptxJoining of metal and plastic.pptx
Joining of metal and plastic.pptx
ssuser823c58
 

More from ssuser823c58 (8)

1 PPT Metal Cutting 30-04-2020.pdf
1 PPT Metal Cutting 30-04-2020.pdf1 PPT Metal Cutting 30-04-2020.pdf
1 PPT Metal Cutting 30-04-2020.pdf
 
PPT.pdf
PPT.pdfPPT.pdf
PPT.pdf
 
Micro Controller.pptx
Micro Controller.pptxMicro Controller.pptx
Micro Controller.pptx
 
Stepper Motor.pptx
Stepper Motor.pptxStepper Motor.pptx
Stepper Motor.pptx
 
8255 PPI.pptx
8255 PPI.pptx8255 PPI.pptx
8255 PPI.pptx
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
 
Pin Configuration.pptx
Pin Configuration.pptxPin Configuration.pptx
Pin Configuration.pptx
 
Joining of metal and plastic.pptx
Joining of metal and plastic.pptxJoining of metal and plastic.pptx
Joining of metal and plastic.pptx
 

Recently uploaded

Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
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
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Mechatronics UNIT 2.pptx

  • 1. Unit - 2 8085 MICROPROCESSOR AND 8051 MICROCONTROLLER
  • 3. Internal Architecture of 8085 Address bus : • The address bus is a group of 16 lines generally identified as A0 to A15. • The address bus is unidirectional : bits flow in one direction-from the MPU to peripheral devices. • The MPU (Memory Protection Unit) uses the address bus to perform the first function : identifying a peripheral or a memory location.
  • 4. Internal Architecture of 8085 Data bus : • The data bus is a group of eight lines used for data flow. • These lines are bi-directional - data flow in both directions between the MPU and • memory and peripheral devices. • The MPU uses the data bus to perform the second function: transferring binary information. Control bus : • The control bus carries synchronization signals and providing timing signals. • The MPU generates specific control signals for every operation it performs. • These signals are used to identify a device type with which the MPU wants to communicate.
  • 5. Internal Architecture of 8085 Registers of 8085 : • The 8085 have six general - purpose registers to store 8-bit data during program execution. • These registers are identified as B, C, D, E, H, and L. • They can be combined as register pairs - BC, DE, and HL - to perform some 16 - bit operations. Accumulator (A) : • The accumulator is an 8 - bit register that is part of the arithmetic/logic unit (ALU). • This register is used to store 8-bit data and to perform arithmetic and logical operations. • The result of an operation is stored in the accumulator.
  • 6. Internal Architecture of 8085 Flags : • The ALU includes five flip-flops that are set or reset according to the result of an • operation. • The microprocessor uses the flags for testing the data conditions. • They are Zero (Z), Carry (CY), Sign (S), Parity (P) and Auxiliary Carry (AC) flags. • The most commonly used flags are Sign, Zero and Carry. • The bit position for the flags in flag register is Accumulator (A) Sign flag (S) : • After execution of any arithmetic and logical operation, if D7 of the result is 1, the sign flag is set. • If D, is 1, the number will be viewed as negative number. If D7 is 0, the number will be viewed as positive number. Zero flag (z) : • If the result of arithmetic and logical operation is zero, then zero flag is set, otherwise it is reset.
  • 7. Internal Architecture of 8085 Arithmetic and Logic Unit (ALU) : • It is used to perform the arithmetic operations like addition, subtraction, multiplication, division, increment and decrement and logical operations like AND, OR and EX-OR. • It receives the data from accumulator and registers. • According to the result it set or reset the flags. Program Counter (PC) : • This 16-bit register sequencing the execution of instructions. • It is a memory pointer. Memory locations have 16-bit addresses, and that is why • this is a 16-bit register. • The function of the program counter is to point to the memory address of the next • instruction to be executed.
  • 8. Internal Architecture of 8085 Stack Pointer (SP) : • The stack pointer is also a 16-bit register used as a memory pointer. • It points to a memory location in R/W memory, called the stack. • The beginning of the stack is defined by loading a 16-bit address in the stack pointer (register). Temporary Register : It is used to hold the data during the arithmetic and logical operations. Instruction Register : When an instruction is fetched from the memory, it is loaded in the instruction register. Instruction Decoder : It gets the instruction from the instruction register and decodes the instruction. It identifies the instruction to be performed. Serial I/O Control : It has two control signals named SID and SOD for serial data transmission.
  • 9. Internal Architecture of 8085 Timing and Control Unit : • It has three control signals ALE (Address Enable Latch), RD (Active low) and WR (Active low) and three status signals IO/M(Active low). • ALE is used for provide control signal to synchronize the components of • microprocessor and timing for instruction to perform the operation. • RD (Active low) and WR (Active low) are used to indicate whether the operation is reading the data from memory or writing the data into memory respectively. • IO/M (Active low) is used to indicate whether the operation is belongs to the memory or peripherals.
  • 10. Internal Architecture of 8085 Interrupt Control Unit : • It receives hardware interrupt signals and sends an acknowledgement for receiving the interrupt signal.