SlideShare a Scribd company logo
MICROPROCESSOR ARCHITECTURE AND
ITS OPERATIONS
By
Mrs.B.RAMA PRABHA,
ASSISTANT PROFESSOR,
DEPARTMENT OF COMPUTER SCIENCE,
K.C.S.KASI NADAR COLLEGE OF ARTS & SCIENCE
What is a Microprocessor?
 A microprocessor is nothing but the Central
Processing Unit of a computer that has been
constructed on a single chip.
 It is an integrated circuit and is able to implement
all the important functions of the CPU. It is built
on a silicon chip and is a clock-driven.
 The device is register-based.
 It accepts binary data and produces the necessary
output after processing the data on the basis of
the instructions which are stored in the memory.
MICROPROCESSOR ARCHITECTURE
MICROPROCESSOR ARCHITECTURE
8085 architecture consists of following
blocks:
1. Register Array
2. ALU & Logical Group
3. Instruction decoder &encoder,
4. Interrupt control Group
5. Serial I/O control Group
6. Timing and control circuitry
REGISTER ARRAY
 It has eight addressable 8-bit registers : A, B, C, D,
E, H, L, F, and two 16-bit registers PC and SP.
 These registers can be classified as:
 General Purpose Registers
 Temporary Registers :
 Temporary data register
 W and Z registers
 Special Purpose Registers :
 Accumulator
 Flag registers
 Instruction register
 Sixteen bit Registers :
 Program Counter (PC)
 Stack Pointer (SP)
General purpose register
There are 6 general purpose registers in
8085 processor,
 i.e. B, C, D, E, H & L. Each register
can hold 8-bit data.
 These registers can work in pair to hold
16-bit data and their pairing
combination is like B-C, D-E & H-L.
Register Array
6
Temporary Register:
 It is an 8-bit register associated
with the ALU. It holds data during
an arithmetic/logical operation.
 It is used by the microprocessor.
 It is not accessible to
programmer.
Register Array
7
Special Purpose Register:
Accumulator (A):
 The accumulator is an 8-bit register
associated with the ALU.
 The register 'A' is an accumulator in
the 8085.
 It is used to hold one of the
operands of an arithmetic and
logical operation.
 The final result of an arithmetic
or logical operation is also placed
in the accumulator.
Register Array
8
Special Purpose Register:
Instruction Register:
The instruction register holds the
opcode (operation code or instruction
code) of the instruction which is being
decoded and executed.
9
Special Purpose Register:
 Flags Register:
 The Intel 8085 microprocessor contains
five flip-flops to serve as a status flags.
The flip-flops are reset or set according to
the conditions which arise during an
arithmetic or logical operation.
 The five status flags of Intel 8085 are:
 Carry Flag (CS)
 Parity Flag (P)
 Auxiliary Carry Flag (AC)
 Zero Flag(Z)
 Sign Flag(S)
10
16 bit Register:
Program Counter (PC):
 It is a 16-bit special purpose register.
 It is used to hold the address of memory of
the next instruction to be executed.
 It keeps the track of the instruction in a
program while they are being executed.
 The microprocessor increments the content
of the next program counter during the
execution of an instruction
11
16 bit Register:
Stack Pointer (SP):
 It is a 16-bit special function register used as
memory pointer.
 A stack is nothing but a portion of RAM.
 In the stack, the contents of only those registers
are saved, which are needed in the later part of the
program.
12
The Arithmetic and Logic Unit:
 ALU performs the arithmetic and logical operations.
The result of an operation is stored in Accumalator
Instruction decoder and machine cycle encoder:
 Decodes the op-code stored in the Instruction Register (IR) and establishes the sequence of events to
follow.
 Encodes it and transfer to the timing & control unit to perform the execution of the instruction.
Timing and control circuitry
 works as the brain of the CPU
 For proper sequence and synchronization of all the operations of MP, this unit generates all the
timing and control signals necessary for communication between microprocessor and peripherals.
13
Interrupt Control group
 Interrupt:- Occurrence of an external disturbance
 After servicing the interrupt, 8085 resumes its normal working sequence
Transfer the control to special routines
Five interrupts: - TRAP, RST7.5, RST6.5, RST5.5, INTR
In response to INTR, it generates INTA signal
Serial I/O control Group
Data transferred on D0- D7 lines is parallel data
But under some condition it is used serial data transfer
Serial data is entered through SID(serial input data) input (received)
Serial data is outputted on SOD(serial output data) input (send)
14
MICRO PROCESSOR OPERATIONS
 The internal Logic design of the microprocessor called its architecture, determine how
and what various operations are performed by the microprocessor.
 The microprocessor is programmable logic device deigned with register ,flip-flop and
timing elements.
 All functions in microprocessor can be classified in three categories:
1. Microprocessor Initiated operations
2. Internal data operations
3. Peripheral (or externally initiated) operations
15
Microprocessor Initiated Operations
Primarily microprocessor performs four operations:-
a) Memory read (Reads data from memory).
b) Memory writes (Write data into memory).
c) I/O read (Accept data to output device).
d) I/O writes (Sends data to output device).
Microprocessor Initiated Operations:-
Microprocessor performed these functions
using sets of buses:
 Address Bus
 Data Bus
 Control Bus
The microprocessor needs to perform
the following steps:
1. Identify the peripheral.
2. Transfer data.
3. Provide timing or synchronization
signals
17
Bus Structure in 8085
Address bus:
 Microprocessor has 16 bit address bus.
 The bus over which the CPU sends out the
address of the memory location is known
as Address bus.
 The address bus is unidirectional.
Data bus:
 8085 Microprocessor has 8 bit data bus. So
it can be used to carry the 8 bit data .
 It is bidirectional.
Control bus :
 The control bus is used for sending control
signals to the memory and I/O devices. 18
19
To communication with a memory,
for example to read instruction from
memory location:-
1. Mp placed 16-bit address on address bus.
2. The address on the bus is decoded by an external logic
circuit.
3. The memory location is identified.
4. The Mp sends a pulse called memory read as control
signal.
5. The pulse activates the memory chip.
6. The contents of the memory location (8-bit data) are
placed on the data bus as in fig. (2).
2- Internal Data Operations:-
The internal architecture of the 8085 microprocessor determines how and what operation can be
performed with the data.
These operations are:-
1. Store 8-bit data.
2. Performed arithmetic and logical operations.
3. Test for conditions.
4. Sequence the execution of instructions.
5. Store data temporarily during execution in the defined R/W memory locations
called the stack.
Internal Data Operations:-
To perform these operations the Microprocessor requires:-
a) Registers.
b) An arithmetic logic unit (ALU) & control logic.
c) Internal buses (paths for information flow).
22
Peripheral or Externally Initiated Operations:-
External devices (or signals) can initiate the following operation for which individual pins on Microprocessor chip are
assigned: Reset, Interrupt, Ready, Hold.
A) Reset: when reset is activated all internal operations are suspended and the program counter is cleared.
B) Interrupt: the Microprocessor can be interrupted from normal execution and asked to execute other instructions called
"service routine" (emergency), Microprocessor resumes its operation after that.
C) Ready: 8085 has pin called ready, if the signal is low Microprocessor enters into wait state, this signal used to
synchronized slower peripherals with Microprocessor.
D) Hold: when hold pin activated by external signal Microprocessor relinquishes control buses and allows the external
peripheral to use the. For example: Hold signal is used in direct memory access data transfer.
23
THANK YOU!!!

More Related Content

What's hot

Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
ShivamSood22
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
deval patel
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil KawareProf. Swapnil V. Kaware
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
Dr.YNM
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
DebrajJana4
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
Senthil Kumar
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-pptjemimajerome
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
SAQUIB AHMAD
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
Nitin Ahire
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
Jainee Solanki
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
Shubham Singh
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
mahalakshmimalini
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
TMS320C5x
TMS320C5xTMS320C5x
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
Avinash Rouniyar
 

What's hot (20)

Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
TMS320C5x
TMS320C5xTMS320C5x
TMS320C5x
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 

Similar to 8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
RamaPrabha24
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
rohitkuarm5667
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notesRavali Sunki
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
Shamsul Huda
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
Mrunal Deshkar
 
Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]
Deepam Dubey
 
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
 
microprocessor .pptx
microprocessor .pptxmicroprocessor .pptx
microprocessor .pptx
Akshit Jain
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
Manikanteswar Madala
 
Download
DownloadDownload
Downloadjaihooo
 
microprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdfmicroprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdf
BasantRai15
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
RAHUL RANJAN
 
Basic 8085 Architecture.pptx
Basic 8085 Architecture.pptxBasic 8085 Architecture.pptx
Basic 8085 Architecture.pptx
SachinKupade
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
Khalid Hasan
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
rmkceteee
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 

Similar to 8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS (20)

Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
microprocessor8085 power point presentation
microprocessor8085 power point presentationmicroprocessor8085 power point presentation
microprocessor8085 power point presentation
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor
 
Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]
 
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
 
c++
c++ c++
c++
 
microprocessor .pptx
microprocessor .pptxmicroprocessor .pptx
microprocessor .pptx
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
Download
DownloadDownload
Download
 
microprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdfmicroprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdf
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
 
Basic 8085 Architecture.pptx
Basic 8085 Architecture.pptxBasic 8085 Architecture.pptx
Basic 8085 Architecture.pptx
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 

More from RamaPrabha24

Dynamic debugging in 8085 microprocessor
Dynamic debugging in 8085 microprocessorDynamic debugging in 8085 microprocessor
Dynamic debugging in 8085 microprocessor
RamaPrabha24
 
programming techniques
programming techniquesprogramming techniques
programming techniques
RamaPrabha24
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
RamaPrabha24
 
instruction set and classificaion
instruction set and classificaioninstruction set and classificaion
instruction set and classificaion
RamaPrabha24
 
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
LOGICAL OPERATIONS IN 8085 MICROPROCESSORLOGICAL OPERATIONS IN 8085 MICROPROCESSOR
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
RamaPrabha24
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
RamaPrabha24
 
8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS
RamaPrabha24
 
PINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSORPINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSOR
RamaPrabha24
 
memory classification
memory classificationmemory classification
memory classification
RamaPrabha24
 
Basic terms used in microprocessor
Basic terms used in microprocessorBasic terms used in microprocessor
Basic terms used in microprocessor
RamaPrabha24
 
Applets in Java
Applets in JavaApplets in Java
Applets in Java
RamaPrabha24
 

More from RamaPrabha24 (11)

Dynamic debugging in 8085 microprocessor
Dynamic debugging in 8085 microprocessorDynamic debugging in 8085 microprocessor
Dynamic debugging in 8085 microprocessor
 
programming techniques
programming techniquesprogramming techniques
programming techniques
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
instruction set and classificaion
instruction set and classificaioninstruction set and classificaion
instruction set and classificaion
 
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
LOGICAL OPERATIONS IN 8085 MICROPROCESSORLOGICAL OPERATIONS IN 8085 MICROPROCESSOR
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
 
8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS8085 DATA TRANSFER INSTRUCTIONS
8085 DATA TRANSFER INSTRUCTIONS
 
PINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSORPINDIAGRAM OF 8085 MICROPROCESSOR
PINDIAGRAM OF 8085 MICROPROCESSOR
 
memory classification
memory classificationmemory classification
memory classification
 
Basic terms used in microprocessor
Basic terms used in microprocessorBasic terms used in microprocessor
Basic terms used in microprocessor
 
Applets in Java
Applets in JavaApplets in Java
Applets in Java
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 

8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS

  • 1. MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS By Mrs.B.RAMA PRABHA, ASSISTANT PROFESSOR, DEPARTMENT OF COMPUTER SCIENCE, K.C.S.KASI NADAR COLLEGE OF ARTS & SCIENCE
  • 2. What is a Microprocessor?  A microprocessor is nothing but the Central Processing Unit of a computer that has been constructed on a single chip.  It is an integrated circuit and is able to implement all the important functions of the CPU. It is built on a silicon chip and is a clock-driven.  The device is register-based.  It accepts binary data and produces the necessary output after processing the data on the basis of the instructions which are stored in the memory.
  • 4. MICROPROCESSOR ARCHITECTURE 8085 architecture consists of following blocks: 1. Register Array 2. ALU & Logical Group 3. Instruction decoder &encoder, 4. Interrupt control Group 5. Serial I/O control Group 6. Timing and control circuitry
  • 5. REGISTER ARRAY  It has eight addressable 8-bit registers : A, B, C, D, E, H, L, F, and two 16-bit registers PC and SP.  These registers can be classified as:  General Purpose Registers  Temporary Registers :  Temporary data register  W and Z registers  Special Purpose Registers :  Accumulator  Flag registers  Instruction register  Sixteen bit Registers :  Program Counter (PC)  Stack Pointer (SP)
  • 6. General purpose register There are 6 general purpose registers in 8085 processor,  i.e. B, C, D, E, H & L. Each register can hold 8-bit data.  These registers can work in pair to hold 16-bit data and their pairing combination is like B-C, D-E & H-L. Register Array 6
  • 7. Temporary Register:  It is an 8-bit register associated with the ALU. It holds data during an arithmetic/logical operation.  It is used by the microprocessor.  It is not accessible to programmer. Register Array 7
  • 8. Special Purpose Register: Accumulator (A):  The accumulator is an 8-bit register associated with the ALU.  The register 'A' is an accumulator in the 8085.  It is used to hold one of the operands of an arithmetic and logical operation.  The final result of an arithmetic or logical operation is also placed in the accumulator. Register Array 8
  • 9. Special Purpose Register: Instruction Register: The instruction register holds the opcode (operation code or instruction code) of the instruction which is being decoded and executed. 9
  • 10. Special Purpose Register:  Flags Register:  The Intel 8085 microprocessor contains five flip-flops to serve as a status flags. The flip-flops are reset or set according to the conditions which arise during an arithmetic or logical operation.  The five status flags of Intel 8085 are:  Carry Flag (CS)  Parity Flag (P)  Auxiliary Carry Flag (AC)  Zero Flag(Z)  Sign Flag(S) 10
  • 11. 16 bit Register: Program Counter (PC):  It is a 16-bit special purpose register.  It is used to hold the address of memory of the next instruction to be executed.  It keeps the track of the instruction in a program while they are being executed.  The microprocessor increments the content of the next program counter during the execution of an instruction 11
  • 12. 16 bit Register: Stack Pointer (SP):  It is a 16-bit special function register used as memory pointer.  A stack is nothing but a portion of RAM.  In the stack, the contents of only those registers are saved, which are needed in the later part of the program. 12
  • 13. The Arithmetic and Logic Unit:  ALU performs the arithmetic and logical operations. The result of an operation is stored in Accumalator Instruction decoder and machine cycle encoder:  Decodes the op-code stored in the Instruction Register (IR) and establishes the sequence of events to follow.  Encodes it and transfer to the timing & control unit to perform the execution of the instruction. Timing and control circuitry  works as the brain of the CPU  For proper sequence and synchronization of all the operations of MP, this unit generates all the timing and control signals necessary for communication between microprocessor and peripherals. 13
  • 14. Interrupt Control group  Interrupt:- Occurrence of an external disturbance  After servicing the interrupt, 8085 resumes its normal working sequence Transfer the control to special routines Five interrupts: - TRAP, RST7.5, RST6.5, RST5.5, INTR In response to INTR, it generates INTA signal Serial I/O control Group Data transferred on D0- D7 lines is parallel data But under some condition it is used serial data transfer Serial data is entered through SID(serial input data) input (received) Serial data is outputted on SOD(serial output data) input (send) 14
  • 15. MICRO PROCESSOR OPERATIONS  The internal Logic design of the microprocessor called its architecture, determine how and what various operations are performed by the microprocessor.  The microprocessor is programmable logic device deigned with register ,flip-flop and timing elements.  All functions in microprocessor can be classified in three categories: 1. Microprocessor Initiated operations 2. Internal data operations 3. Peripheral (or externally initiated) operations 15
  • 16. Microprocessor Initiated Operations Primarily microprocessor performs four operations:- a) Memory read (Reads data from memory). b) Memory writes (Write data into memory). c) I/O read (Accept data to output device). d) I/O writes (Sends data to output device).
  • 17. Microprocessor Initiated Operations:- Microprocessor performed these functions using sets of buses:  Address Bus  Data Bus  Control Bus The microprocessor needs to perform the following steps: 1. Identify the peripheral. 2. Transfer data. 3. Provide timing or synchronization signals 17
  • 18. Bus Structure in 8085 Address bus:  Microprocessor has 16 bit address bus.  The bus over which the CPU sends out the address of the memory location is known as Address bus.  The address bus is unidirectional. Data bus:  8085 Microprocessor has 8 bit data bus. So it can be used to carry the 8 bit data .  It is bidirectional. Control bus :  The control bus is used for sending control signals to the memory and I/O devices. 18
  • 19. 19 To communication with a memory, for example to read instruction from memory location:- 1. Mp placed 16-bit address on address bus. 2. The address on the bus is decoded by an external logic circuit. 3. The memory location is identified. 4. The Mp sends a pulse called memory read as control signal. 5. The pulse activates the memory chip. 6. The contents of the memory location (8-bit data) are placed on the data bus as in fig. (2).
  • 20.
  • 21. 2- Internal Data Operations:- The internal architecture of the 8085 microprocessor determines how and what operation can be performed with the data. These operations are:- 1. Store 8-bit data. 2. Performed arithmetic and logical operations. 3. Test for conditions. 4. Sequence the execution of instructions. 5. Store data temporarily during execution in the defined R/W memory locations called the stack.
  • 22. Internal Data Operations:- To perform these operations the Microprocessor requires:- a) Registers. b) An arithmetic logic unit (ALU) & control logic. c) Internal buses (paths for information flow). 22
  • 23. Peripheral or Externally Initiated Operations:- External devices (or signals) can initiate the following operation for which individual pins on Microprocessor chip are assigned: Reset, Interrupt, Ready, Hold. A) Reset: when reset is activated all internal operations are suspended and the program counter is cleared. B) Interrupt: the Microprocessor can be interrupted from normal execution and asked to execute other instructions called "service routine" (emergency), Microprocessor resumes its operation after that. C) Ready: 8085 has pin called ready, if the signal is low Microprocessor enters into wait state, this signal used to synchronized slower peripherals with Microprocessor. D) Hold: when hold pin activated by external signal Microprocessor relinquishes control buses and allows the external peripheral to use the. For example: Hold signal is used in direct memory access data transfer. 23