SlideShare a Scribd company logo
8085
MICROPROCESSORS
BY
MS.K.R.CHAIRMA LAKSHMI
ASSISTANT PROFESSOR
DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING
R.M.K ENGINEERING COLLEGE
MODULE 2
ARCHITECTURE OF 8085 MICROPROCESSOR
ARCHITECTURE OF 8085 MICROPROCESSOR
• Architecture is defined as ‘internal logic design of microprocessor, which
determine how and what various operations are done by
"MICROPROCESSOR".
• The microprocessor is programmable logic device designed with internal
register, flip-flop and timing control elements.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 3
ARCHITECTURE OF 8085
MICROPROCESSOR
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
BLOCKS IN 8085
• ALU
• Registers
• Instruction Register and Instruction Decoder
• Timing and Control unit
• Serial I/O Control
• Interrupt control
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
8085 PIN CONFIGURATION
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
BUS (ADDRESS BUS, DATA BUS & CONTROL BUS)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
ADDRESS BUS
• Address bus of 8085 Microprocessor is a group of 16 lines, identified as A0 – A15.
• This bus is unidirectional (Data flow in one direction) from Microprocessor to peripheral
devices.
• Each memory location in 64 Kbyte memory (216 =65536=64K) or peripheral I/O identified
with 16 bit binary number (0000H – FFFFH) called address.
DATA BUS
• Data bus is a group of 8 lines used for data flow between microprocessor and I/O device,
these lines are bidirectional lines from (00 – FF) =28 =256 numbers. 8085 Microprocessor is
called 8 bit Microprocessor which consist of 8 bit Data bus that can be denote as D0-D7.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
0 7
AD0 – AD7
PIN 19-12
(BIDIRECTIONAL)
These pins serve the dual purpose of
transmitting lower order address and
data byte.
During 1st clock cycle, these pins act as
lower half of address.
In remaining clock cycles, these pins
act as data bus.
The separation of lower order address
and data is done by address latch.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
8 15
A8 –A15 PIN 21-28
(UNIDIRECTIONAL)
These pins carry the higher order
of address bus.
The address is sent from
microprocessor to memory.
These 8 pins are switched to high
impedance state during HOLD and
RESET mode.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
ALU (ARITHMETIC AND LOGIC UNIT)
ALU
• 20 arithmetic operations (Like ADD, SUB,
Compare, Increment, Decrement, Complement
etc)
• 14 logical operations (Like AND, OR, NAND,
NOR, EX-OR, left/ right shift etc)
• Consist of accumulator, temporary register,
arithmetic and logical circuits and five flags.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
ALU (ARITHMETIC AND LOGIC UNIT)
A REG
• used to store 8-bit input data and to
execute arithmetic and logical operations.
• The result of arithmetic and logical
operation is stored in the accumulator.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
ALU (ARITHMETIC AND LOGIC UNIT)
TEMPORARY REGISTER
• It is utilized to hold the data temporary
during the arithmetic and logical
operations.
• 8 bit register
• Data transfer from reg (B,C,D,E,H,L) or
Memory Location ( Immediate address
ADI 05H or Direct address LDA 4500H)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
FLAGS
• S (Sign) flag − After arithmetic instruction execution if D7 bit is 1, the sign flag is set. It is used for signed
numbers. If D7 is 1 means negative number. If D7 is 0 means positive number.
• Z (Zero) flag − The zero flag is set if ALU operation result is 0.
• AC (Auxiliary Carry) flag − In arithmetic operation, when carry is generated by digit D3 and passed on
to digit D4, the AC flag is set. (01+0F=00010000 , ACY=1)
• P (Parity) flag − After arithmetic or logic operation, if result has even number of 1s, the flag is set. If it
has odd number of 1s, flag is reset.
• C (Carry) flag − If arithmetic operation result is in a carry, the carry flag is set, otherwise it is reset.
(01+FF = 00000000 , CY=1)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
REGISTERS
Register
General purpose
8 bit
(B,C,D,E,H,L)
16 bit (BC, DE,
HL)
Temporary register
(W&Z)
Special purpose
8 bit (A, Flag)
16 bit (PC, SP, IR)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
GENERAL PURPOSE REGISTERS
• 8-bit B and C registers can be utilized as one 16-bit BC register pair. When used
as a pair the 8 bit C register contains low-order byte.
• MOV B,C
• 8-bit D and E registers can be used as one 16-bit DE register pair. When DE
register used as a pair the E register contains low-order byte.
• 8-bit H and L registers can be used as one 16-bit HL register pair. When HL
registers used as a pair the L register contains low-order byte. HL register
generally contains a DATA POINTER used to reference memory addresses.
(MOV A,M)
• LXI H,4500
• H 45 L 00
• MOV A,M
• A [M]
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
PROGRAM COUNTER
(PC)
• 16 bit register used as MEMORY POINTER.
• It stores the memory address of the next instruction to be
executed.
• This 16-bit register sequencing the execution of
instructions.
• When an opcode is being fetched, the program counter
value is incremented by one to point to the next memory
location.
• The program counter is set to 0000H.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
STACK POINTER (SP):
• The stack pointer is also a 16-bit register used as a MEMORY
POINTER.
• It points to a memory location in Read /Write memory, called the
stack.
• The beginning of the stack is defined by loading a 16-bit address
in the stack pointer (register).
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
INSTRUCTION REGISTER AND INSTRUCTION
DECODER
• Instruction register is an 8 bit register. It is not accessible to the user
by program or instruction.
• When an instruction is fetched from memory to microprocessor, it is
loaded in the instruction register. The instruction decoder decodes the
instruction and establishes the sequence of events to follow.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
1) Fetch
2) Decode
3) Execute
A0-
A15
D0-D7
000001
10
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
TIMING AND CONTROL UNIT
• Timing and control unit synchronizes all the microprocessor operations with the clock and
generates the control signals required for communication between the microprocessor
and peripherals.
• THREE CONTROL SIGNALS: ALE, WR (Active low) and RD (Active low)
•THREE STATUS SIGNALS: IO/M (Active low), S0 and S1.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
THE CONTROL SIGNALS
• ALE: Address Latch Enable. This signal is a pulse that become 1 when the AD0 – AD7 lines have
an address on them. It becomes 0 after that. This signal can be used to enable a latch to save the
address bits from the AD lines.
• RD: Read. Active low indicates that the data must be read from the selected memory location or I/O
port.
• WR: Write. Active low indicates that the data must be written into the selected memory location or
I/O port.
•
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
DEMULTIPLEXING DATA LINES FROM
ADDRESS LINES
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
THE STATUS SIGNALS
• • IO/M: This signal specifies whether the operation is a memory operation (IO/M=0) or an I/O operation
(IO/M=1).
• S1 and S0 : Status signals to specify the kind of operation being performed.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
CONTROL AND STATUS SIGNAL
IO/M
(active low)
RD (active
low)
WR (active
low)
S1 S0
Data Bus status
(Output)
0 0 0 0 0 Halt
0 1 0 0 1 Memory write
0 0 1 1 0 Memory read
1 1 0 0 1 IO write
1 0 1 1 0 IO read
0 0 1 1 1 Opcode fetch
1 1 1 1 1
Interrupt
acknowledgeCHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
READY Pin 35 (Input)
This pin is used to synchronize
slower peripheral devices with fast
microprocessor.
A low value causes the
microprocessor to enter into wait
state.
The microprocessor remains in wait
state until the input at this pin goes
high.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
SERIAL DATA TRANSFER
SID AND SOD
Pin 4 (Input) and Pin 5 (Output)
SID (Serial Input Data):
o It takes 1 bit input from serial
port of 8085.
o Stores the bit at the 8th position
(MSB) of the Accumulator.
o RIM (Read Interrupt Mask)
instruction is used to transfer
the bit.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
SID AND SOD
Pin 4 (Input) and Pin 5 (Output)
SOD (Serial Output Data):
o It takes 1 bit from Accumulator to
serial port of 8085.
o Takes the bit from the 8th position
(MSB) of the Accumulator.
SIM (Set Interrupt Mask) instruction is used
to transfer the bit.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28
FOR OTHER MODULES, REFER BELOW LINK
• Module 1: Introduction of 8085
• Module 3: Interrupts
• Module 4: Data transfer Concepts
• Module 5: Timing Diagram
• Module 6: Memory Organization
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 29
THANK YOU

More Related Content

What's hot

Pin diagram-of-8085
Pin diagram-of-8085Pin diagram-of-8085
Pin diagram-of-8085
sharan Kumar
 
8085
80858085
Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)
Naman Joshi
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
RENUKASHIRBAVIKAR1
 
Microprocessor 8085 Basics
Microprocessor 8085 BasicsMicroprocessor 8085 Basics
Microprocessor 8085 Basics
Nilesh Bhaskarrao Bahadure
 
8085
80858085
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecture
deval patel
 
8085 ppi 8255 and 8155
8085 ppi 8255 and 81558085 ppi 8255 and 8155
8085 ppi 8255 and 8155
Nitin Ahire
 
Microprocessors 8085 pin diagram
Microprocessors 8085 pin diagramMicroprocessors 8085 pin diagram
Microprocessors 8085 pin diagram
VARUN BABUNELSON
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
DebrajJana4
 
Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
Rishikesh Bhavsar
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
VARUN BABUNELSON
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
SAQUIB AHMAD
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8155 PPI
8155 PPI8155 PPI
8155 PPI
ShivamSood22
 
Unit 1 8085 Timing diagram - lecture 5b
Unit 1  8085 Timing diagram - lecture 5bUnit 1  8085 Timing diagram - lecture 5b
Unit 1 8085 Timing diagram - lecture 5b
Dickson Nkongo
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
THANDAIAH PRABU
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
Sumit Swain
 

What's hot (20)

Pin diagram-of-8085
Pin diagram-of-8085Pin diagram-of-8085
Pin diagram-of-8085
 
8085
80858085
8085
 
Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)Pin diagram 8085 microprocessor(For College Seminars)
Pin diagram 8085 microprocessor(For College Seminars)
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
 
Microprocessor 8085 Basics
Microprocessor 8085 BasicsMicroprocessor 8085 Basics
Microprocessor 8085 Basics
 
8085
80858085
8085
 
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecture
 
8085 ppi 8255 and 8155
8085 ppi 8255 and 81558085 ppi 8255 and 8155
8085 ppi 8255 and 8155
 
Microprocessors 8085 pin diagram
Microprocessors 8085 pin diagramMicroprocessors 8085 pin diagram
Microprocessors 8085 pin diagram
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor systems 8085(2)
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Unit 1 8085 Timing diagram - lecture 5b
Unit 1  8085 Timing diagram - lecture 5bUnit 1  8085 Timing diagram - lecture 5b
Unit 1 8085 Timing diagram - lecture 5b
 
8085 MICROPROCESSOR
8085 MICROPROCESSOR 8085 MICROPROCESSOR
8085 MICROPROCESSOR
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 

Similar to EE8551 mpmc unit 1 8085 module 2

Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
BLACKSPAROW
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
Shifali Sharma
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
vijaydeepakg
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
pjmulat
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
ArghodeepPaul
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
Embedded System
Embedded SystemEmbedded System
Embedded System
Richa Arora
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
8051
80518051
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
GauravRaikar3
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
Rishabh Kataria
 
Emb day2 8051
Emb day2 8051Emb day2 8051
Emb day2 8051
shivamarya55
 
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
 
Mechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptxMechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptx
ssuser823c58
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
Koteswari Kasireddy
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 Microprocessor
Zeeshan Ahmed
 
Architecture 8085
Architecture 8085Architecture 8085
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
gomathy S
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Iama Marsian
 

Similar to EE8551 mpmc unit 1 8085 module 2 (20)

Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
8051
80518051
8051
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
Emb day2 8051
Emb day2 8051Emb day2 8051
Emb day2 8051
 
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
 
Mechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptxMechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptx
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 Microprocessor
 
Architecture 8085
Architecture 8085Architecture 8085
Architecture 8085
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 

Recently uploaded

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 

Recently uploaded (20)

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 

EE8551 mpmc unit 1 8085 module 2

  • 1. 8085 MICROPROCESSORS BY MS.K.R.CHAIRMA LAKSHMI ASSISTANT PROFESSOR DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING R.M.K ENGINEERING COLLEGE
  • 2. MODULE 2 ARCHITECTURE OF 8085 MICROPROCESSOR
  • 3. ARCHITECTURE OF 8085 MICROPROCESSOR • Architecture is defined as ‘internal logic design of microprocessor, which determine how and what various operations are done by "MICROPROCESSOR". • The microprocessor is programmable logic device designed with internal register, flip-flop and timing control elements. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 3
  • 4. ARCHITECTURE OF 8085 MICROPROCESSOR CHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
  • 5. BLOCKS IN 8085 • ALU • Registers • Instruction Register and Instruction Decoder • Timing and Control unit • Serial I/O Control • Interrupt control CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
  • 6. 8085 PIN CONFIGURATION CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
  • 7. BUS (ADDRESS BUS, DATA BUS & CONTROL BUS) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
  • 8. ADDRESS BUS • Address bus of 8085 Microprocessor is a group of 16 lines, identified as A0 – A15. • This bus is unidirectional (Data flow in one direction) from Microprocessor to peripheral devices. • Each memory location in 64 Kbyte memory (216 =65536=64K) or peripheral I/O identified with 16 bit binary number (0000H – FFFFH) called address. DATA BUS • Data bus is a group of 8 lines used for data flow between microprocessor and I/O device, these lines are bidirectional lines from (00 – FF) =28 =256 numbers. 8085 Microprocessor is called 8 bit Microprocessor which consist of 8 bit Data bus that can be denote as D0-D7. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
  • 9. 0 7 AD0 – AD7 PIN 19-12 (BIDIRECTIONAL) These pins serve the dual purpose of transmitting lower order address and data byte. During 1st clock cycle, these pins act as lower half of address. In remaining clock cycles, these pins act as data bus. The separation of lower order address and data is done by address latch. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
  • 10. 8 15 A8 –A15 PIN 21-28 (UNIDIRECTIONAL) These pins carry the higher order of address bus. The address is sent from microprocessor to memory. These 8 pins are switched to high impedance state during HOLD and RESET mode. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
  • 11. ALU (ARITHMETIC AND LOGIC UNIT) ALU • 20 arithmetic operations (Like ADD, SUB, Compare, Increment, Decrement, Complement etc) • 14 logical operations (Like AND, OR, NAND, NOR, EX-OR, left/ right shift etc) • Consist of accumulator, temporary register, arithmetic and logical circuits and five flags. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
  • 12. ALU (ARITHMETIC AND LOGIC UNIT) A REG • used to store 8-bit input data and to execute arithmetic and logical operations. • The result of arithmetic and logical operation is stored in the accumulator. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
  • 13. ALU (ARITHMETIC AND LOGIC UNIT) TEMPORARY REGISTER • It is utilized to hold the data temporary during the arithmetic and logical operations. • 8 bit register • Data transfer from reg (B,C,D,E,H,L) or Memory Location ( Immediate address ADI 05H or Direct address LDA 4500H) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
  • 14. FLAGS • S (Sign) flag − After arithmetic instruction execution if D7 bit is 1, the sign flag is set. It is used for signed numbers. If D7 is 1 means negative number. If D7 is 0 means positive number. • Z (Zero) flag − The zero flag is set if ALU operation result is 0. • AC (Auxiliary Carry) flag − In arithmetic operation, when carry is generated by digit D3 and passed on to digit D4, the AC flag is set. (01+0F=00010000 , ACY=1) • P (Parity) flag − After arithmetic or logic operation, if result has even number of 1s, the flag is set. If it has odd number of 1s, flag is reset. • C (Carry) flag − If arithmetic operation result is in a carry, the carry flag is set, otherwise it is reset. (01+FF = 00000000 , CY=1) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
  • 15. REGISTERS Register General purpose 8 bit (B,C,D,E,H,L) 16 bit (BC, DE, HL) Temporary register (W&Z) Special purpose 8 bit (A, Flag) 16 bit (PC, SP, IR) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
  • 16. GENERAL PURPOSE REGISTERS • 8-bit B and C registers can be utilized as one 16-bit BC register pair. When used as a pair the 8 bit C register contains low-order byte. • MOV B,C • 8-bit D and E registers can be used as one 16-bit DE register pair. When DE register used as a pair the E register contains low-order byte. • 8-bit H and L registers can be used as one 16-bit HL register pair. When HL registers used as a pair the L register contains low-order byte. HL register generally contains a DATA POINTER used to reference memory addresses. (MOV A,M) • LXI H,4500 • H 45 L 00 • MOV A,M • A [M] CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
  • 17. PROGRAM COUNTER (PC) • 16 bit register used as MEMORY POINTER. • It stores the memory address of the next instruction to be executed. • This 16-bit register sequencing the execution of instructions. • When an opcode is being fetched, the program counter value is incremented by one to point to the next memory location. • The program counter is set to 0000H. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
  • 18. STACK POINTER (SP): • The stack pointer is also a 16-bit register used as a MEMORY POINTER. • It points to a memory location in Read /Write memory, called the stack. • The beginning of the stack is defined by loading a 16-bit address in the stack pointer (register). CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
  • 19. INSTRUCTION REGISTER AND INSTRUCTION DECODER • Instruction register is an 8 bit register. It is not accessible to the user by program or instruction. • When an instruction is fetched from memory to microprocessor, it is loaded in the instruction register. The instruction decoder decodes the instruction and establishes the sequence of events to follow. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
  • 20. 1) Fetch 2) Decode 3) Execute A0- A15 D0-D7 000001 10 CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
  • 21. TIMING AND CONTROL UNIT • Timing and control unit synchronizes all the microprocessor operations with the clock and generates the control signals required for communication between the microprocessor and peripherals. • THREE CONTROL SIGNALS: ALE, WR (Active low) and RD (Active low) •THREE STATUS SIGNALS: IO/M (Active low), S0 and S1. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
  • 22. THE CONTROL SIGNALS • ALE: Address Latch Enable. This signal is a pulse that become 1 when the AD0 – AD7 lines have an address on them. It becomes 0 after that. This signal can be used to enable a latch to save the address bits from the AD lines. • RD: Read. Active low indicates that the data must be read from the selected memory location or I/O port. • WR: Write. Active low indicates that the data must be written into the selected memory location or I/O port. • CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
  • 23. DEMULTIPLEXING DATA LINES FROM ADDRESS LINES CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
  • 24. THE STATUS SIGNALS • • IO/M: This signal specifies whether the operation is a memory operation (IO/M=0) or an I/O operation (IO/M=1). • S1 and S0 : Status signals to specify the kind of operation being performed. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
  • 25. CONTROL AND STATUS SIGNAL IO/M (active low) RD (active low) WR (active low) S1 S0 Data Bus status (Output) 0 0 0 0 0 Halt 0 1 0 0 1 Memory write 0 0 1 1 0 Memory read 1 1 0 0 1 IO write 1 0 1 1 0 IO read 0 0 1 1 1 Opcode fetch 1 1 1 1 1 Interrupt acknowledgeCHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
  • 26. READY Pin 35 (Input) This pin is used to synchronize slower peripheral devices with fast microprocessor. A low value causes the microprocessor to enter into wait state. The microprocessor remains in wait state until the input at this pin goes high. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
  • 27. SERIAL DATA TRANSFER SID AND SOD Pin 4 (Input) and Pin 5 (Output) SID (Serial Input Data): o It takes 1 bit input from serial port of 8085. o Stores the bit at the 8th position (MSB) of the Accumulator. o RIM (Read Interrupt Mask) instruction is used to transfer the bit. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
  • 28. SID AND SOD Pin 4 (Input) and Pin 5 (Output) SOD (Serial Output Data): o It takes 1 bit from Accumulator to serial port of 8085. o Takes the bit from the 8th position (MSB) of the Accumulator. SIM (Set Interrupt Mask) instruction is used to transfer the bit. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28
  • 29. FOR OTHER MODULES, REFER BELOW LINK • Module 1: Introduction of 8085 • Module 3: Interrupts • Module 4: Data transfer Concepts • Module 5: Timing Diagram • Module 6: Memory Organization CHAIRMA LAKSHMI K R AP/EIE/RMKEC 29