SlideShare a Scribd company logo
UNIT – I
8085 MICROPROCESSOR
PREPARED BY,
MANIKANDAN S
AP / EEE
JCT CET
JCT College of Engg & Tech, Coimbatore
CHAPTERS
 Hardware Architecture
 Pin outs
 Functional Building Blocks of Processor
 Memory organization
 I/O ports
 Data transfer concepts
 Timing Diagram
 Interrupts.
JCT College of Engg & Tech, Coimbatore
HARDWARE ARCHITECTURE
JCT College of Engg & Tech, Coimbatore
CPU INTERNAL STRUCTURE
Registers
 Six general purpose 8-bit registers: B, C, D, E, H, L.
 They can also be combined as register pairs to Perform 16-
bit operations: BC, DE, HL.
 Registers are programmable (data load, move, etc.)
 Accumulator Single 8-bit register that is part of the ALU !
 Used for arithmetic / logic operations – the result is always
stored in the accumulator.
JCT College of Engg & Tech, Coimbatore
Program Counter (PC)
 This is a register that is used to control the sequencing of
the execution of instructions.
 This register always holds the address of the next
instruction.
 Since it holds an address, it must be 16 bits wide.
Stack Pointer (SP)
 The stack pointer is also a 16-bit register that is used to
point into memory.
 The memory this register points to is a special area called
the stack.
 The stack is an area of memory used to hold data that will
be retreived soon.
 The stack is usually accessed in a Last In First Out (LIFO)
fashion.
JCT College of Engg & Tech, Coimbatore
ARITHMETIC AND LOGIC
UNIT
 In addition to the arithmetic & logic circuits, the ALU includes
the accumulator, which is part of every arithmetic & logic
operation.
 Also, the ALU includes a temporary register used for holding
data temporarily during the execution of the operation. This
temporary register is not accessible by the programmer.
JCT College of Engg & Tech, Coimbatore
ACCUMULATOR
 A register in which intermediate arithmetic and logic results
are stored.
 Example for accumulator use is summing a list of numbers.
 The accumulator is initially set to zero, then each
number in turn is added to the value in the accumulator.
 Only when all numbers have been added is the result
held in the accumulator written to main memory or to
another, non-accumulator, CPU register.
JCT College of Engg & Tech, Coimbatore
DATA BUS
 The data bus is 'bi-directional'
 data or instruction codes from memory or Input/output
are transferred into the microprocessor
 the result of an operation or computation is sent out
from the microprocessor to the memory or input/output.
 Depending on the particular microprocessor, the data bus
can handle 8 bit or 16 bit data.
JCT College of Engg & Tech, Coimbatore
ADDRESS BUS
 The address bus is 'unidirectional', over which the
microprocessor sends an address code to the memory or
input/output.
 The size (width) of the address bus is specified by the
number of bits it can handle.
 The more bits there are in the address bus, the more
memory locations a microprocessor can access.
 A 16 bit address bus is capable of addressing 65,536 (64K)
addresses.
JCT College of Engg & Tech, Coimbatore
CONTROL BUS
• The control bus is used by the microprocessor to send out
or receive timing and control signals in order to coordinate
and regulate its operation and to communicate with other
devices, i.e. memory or input/output.
JCT College of Engg & Tech, Coimbatore
THE CONTROL AND STATUS
SIGNALS
 There are 4 main control and status signals. These are:
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.
WR: Write. Active low.
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 .Usually un-used in small
systems.
JCT College of Engg & Tech, Coimbatore
FREQUENCY CONTROL
SIGNALS
 There are 3 important pins in the frequency control group.
 X0 and X1 are the inputs from the crystal or clock
generating circuit.
 The frequency is internally divided by 2.
So, to run the microprocessor at 3 MHz, a clock
running at 6 MHz should be connected to the X0
and X1 pins.
 CLK (OUT): An output clock pin to drive the clock of the
rest of the system.
JCT College of Engg & Tech, Coimbatore
FLAG REGISTER
JCT College of Engg & Tech, Coimbatore
JCT College of Engg & Tech, Coimbatore
PIN DESCRIPTION
 8085 is a 40 pin IC, The signals from the pins can be
grouped as follows
 1. Power supply and clock signals
2. Address bus
3. Data bus
4. Control and status signals
5. Interrupts and externally initiated signals
6. Serial I/O ports
JCT College of Engg & Tech, Coimbatore
POWER SUPPLY AND CLOCK
FREQUENCY SIGNALS
 Vcc: + 5 volt power supply
 Vss: Ground.
 X1, X2 : Crystal or R/C network or LC network connections to
set the frequency of internal clock generator. The frequency is
internally divided by two. Since the basic operating timing
frequency is 3 MHz, a 6 MHz crystal is connected externally.
CLK (output)-Clock Output is used as the system clock for
peripheral and devices interfaced with the microprocessor.
JCT College of Engg & Tech, Coimbatore
ADDRESS BUS
 A8 - A15: (output; 3-state) It carries the most significant 8 bits of the
memory address or the 8 bits of the I/O address.
DATA BUS
• AD0 - AD7 (input/output; 3-state) These multiplexed set of lines used to carry
the lower order 8 bit address as well as data bus.
• During the op code fetch operation, in the first clock cycle, the lines deliver the
lower order address A0 - A7.
• In the subsequent IO / memory, read / write clock cycle the lines are used as
data bus.
• The CPU may read or write out data through these lines.
JCT College of Engg & Tech, Coimbatore
CONTROL AND STATUS
SIGNALS
ALE (output) - Address Latch Enable.
 It is an output signal used to give information of AD0-AD7
contents.
 It is a positive going pulse generated when a new operation
is started by uP.
 When pulse goes high it indicates that AD0-AD7 are
address.
 When it is low it indicates that the contents are data.
RD (output 3-state, active low)
 Read memory or IO device.
 This indicates that the selected memory location or I/O
device is to be read and that the data bus is ready for
accepting data from the memory or I/O device
JCT College of Engg & Tech, Coimbatore
WR (Write)
 Write memory or IO device.
 This indicates that the data on the data bus is to be written
into the selected memory location or I/O device.
IO/M (output) - Select memory or an IO device
 This status signal indicates that the read / write operation
relates to whether the memory or I/O device.
 It goes high to indicate an I/O operation.
 It goes low for memory operations.
JCT College of Engg & Tech, Coimbatore
STATUS SIGNALS
JCT College of Engg & Tech, Coimbatore
INTERRUPTS AND EXTERNALLY
INITIATED OPERATIONS
 They are the signals initiated by an external device to request
the microprocessor to do a particular task or work.
 There are five hardware interrupts called,
TRAP
RST 7.5
RST 6.5
RST 5.5
INTA
 On receipt of an interrupt, the microprocessor acknowledges
the interrupt by the active low INTA (Interrupt Acknowledge)
signal.
JCT College of Engg & Tech, Coimbatore
Reset In (Input)
 This signal is used to reset the microprocessor.
 The program counter inside the microprocessor is
set to zero.
 The buses are tri-stated.
Reset Out (Output)
 It indicates CPU is being reset.
 Used to reset all the connected devices when the
microprocessor is reset.
JCT College of Engg & Tech, Coimbatore
DIRECT MEMORY ACCESS
(DMA)
 When 2 or more devices are connected to a common bus,
to prevent the devices from interfering with each other, the
tri state gates are used to disconnect all devices except the
one that is communicating at a given instant.
 The CPU controls the data transfer operation between
memory and I/O device. Direct Memory Access operation is
used for large volume data transfer between memory and
an I/O device directly.
 The CPU is disabled by tri-stating its buses and the transfer
is effected directly by external control circuits.
JCT College of Engg & Tech, Coimbatore
 HOLD signal is generated by the DMA controller circuit. On
receipt of this signal, the microprocessor acknowledges the
request by sending out
 HLDA signal and leaves out the control of the buses. After
the HLDA signal the DMA controller starts the direct
transfer of data.
READY (input)
 Memory and I/O devices will have slower response
compared to microprocessors.
 Before completing the present job such a slow peripheral
may not be able to handle further data or control signal
from CPU.
 The processor sets the READY signal after completing the
present job to access the data.
 The microprocessor enters into WAIT state while the READY
pin is disabled.
JCT College of Engg & Tech, Coimbatore
SINGLE BIT SERIAL I/O
PORTS
 SID (input) Serial input data line
 SOD (output) Serial output data line
 These signals are used for serial communication.
JCT College of Engg & Tech, Coimbatore

More Related Content

What's hot

8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counterankit3991
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
manishpatel_79
 
Serial Communication
Serial CommunicationSerial Communication
Serial CommunicationRashmi
 
Programming 8051 Timers
Programming 8051 Timers Programming 8051 Timers
Programming 8051 Timers ViVek Patel
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
Siddhesh Palkar
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
Mathivanan Natarajan
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Signal descriptors of 8086
Signal descriptors of 8086Signal descriptors of 8086
Signal descriptors of 8086aviban
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
mahalakshmimalini
 
microprocessor
 microprocessor microprocessor
microprocessor
ATTO RATHORE
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
guest70d48b1
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
Iffat Anjum
 
MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051
DEPARTMENT OF PHYSICS
 
Timers
TimersTimers
Timers
Vima Mali
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
Saumitra Rukmangad
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
DominicHendry
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
Adarsh College, Hingoli
 

What's hot (20)

8251 USART
8251 USART8251 USART
8251 USART
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Programming 8051 Timers
Programming 8051 Timers Programming 8051 Timers
Programming 8051 Timers
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Signal descriptors of 8086
Signal descriptors of 8086Signal descriptors of 8086
Signal descriptors of 8086
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
microprocessor
 microprocessor microprocessor
microprocessor
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051MICROCONTROLLER - INTEL 8051
MICROCONTROLLER - INTEL 8051
 
Timers
TimersTimers
Timers
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 

Similar to 8085 microprocessor

Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontrollerRavinder Singla
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
Anuja Gunale
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
Mani Kandan K
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
Suchismita Paul
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
Deepak John
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING
Radhika Talaviya
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)
Prof Ansari
 
Chapter5
Chapter5Chapter5
Chapter5
Bisrat Girma
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
ankitnav1
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
ankitnav1
 
Microprocessors 8085 pin diagram
Microprocessors 8085 pin diagramMicroprocessors 8085 pin diagram
Microprocessors 8085 pin diagram
VARUN BABUNELSON
 
8251 usart programmable communication interface by aniket bhute
8251  usart  programmable communication interface by aniket bhute8251  usart  programmable communication interface by aniket bhute
8251 usart programmable communication interface by aniket bhute
Aniket Bhute
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
ShivamSood22
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notesRavali Sunki
 

Similar to 8085 microprocessor (20)

Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)
 
Chapter5
Chapter5Chapter5
Chapter5
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Microprocessors 8085 pin diagram
Microprocessors 8085 pin diagramMicroprocessors 8085 pin diagram
Microprocessors 8085 pin diagram
 
8251 usart programmable communication interface by aniket bhute
8251  usart  programmable communication interface by aniket bhute8251  usart  programmable communication interface by aniket bhute
8251 usart programmable communication interface by aniket bhute
 
Project
ProjectProject
Project
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 

More from JCT COLLEGE OF ENGINEERING AND TECHNOLOGY

Embedded System Networking
Embedded System NetworkingEmbedded System Networking
Embedded System Networking
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Embedded System Case Study
Embedded System Case StudyEmbedded System Case Study
Embedded System Case Study
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Embedded System Application
Embedded System ApplicationEmbedded System Application
Embedded System Application
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Renewable energy sources
Renewable energy sourcesRenewable energy sources
Measurements and Instrumentation - Electrical and electronics instruments
Measurements and Instrumentation - Electrical and electronics instrumentsMeasurements and Instrumentation - Electrical and electronics instruments
Measurements and Instrumentation - Electrical and electronics instruments
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Pheripheral interface
Pheripheral interfacePheripheral interface
8051 microcontroller
8051 microcontroller8051 microcontroller
EE6502 Microprocessor and Microcontroller
EE6502   Microprocessor and MicrocontrollerEE6502   Microprocessor and Microcontroller
EE6502 Microprocessor and Microcontroller
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 
Embedded two mark question
Embedded two mark questionEmbedded two mark question
Embedded two mark question
JCT COLLEGE OF ENGINEERING AND TECHNOLOGY
 

More from JCT COLLEGE OF ENGINEERING AND TECHNOLOGY (10)

Embedded System Networking
Embedded System NetworkingEmbedded System Networking
Embedded System Networking
 
Embedded System Case Study
Embedded System Case StudyEmbedded System Case Study
Embedded System Case Study
 
Embedded System Application
Embedded System ApplicationEmbedded System Application
Embedded System Application
 
Renewable energy sources
Renewable energy sourcesRenewable energy sources
Renewable energy sources
 
Measurements and Instrumentation - Electrical and electronics instruments
Measurements and Instrumentation - Electrical and electronics instrumentsMeasurements and Instrumentation - Electrical and electronics instruments
Measurements and Instrumentation - Electrical and electronics instruments
 
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
Microprocessor and Microcontroller Anna University Answer Key April / May - 2015
 
Pheripheral interface
Pheripheral interfacePheripheral interface
Pheripheral interface
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
EE6502 Microprocessor and Microcontroller
EE6502   Microprocessor and MicrocontrollerEE6502   Microprocessor and Microcontroller
EE6502 Microprocessor and Microcontroller
 
Embedded two mark question
Embedded two mark questionEmbedded two mark question
Embedded two mark question
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
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
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
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
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
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
 
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
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
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
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
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 ...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
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...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
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
 
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
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
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
 

8085 microprocessor

  • 1. UNIT – I 8085 MICROPROCESSOR PREPARED BY, MANIKANDAN S AP / EEE JCT CET JCT College of Engg & Tech, Coimbatore
  • 2. CHAPTERS  Hardware Architecture  Pin outs  Functional Building Blocks of Processor  Memory organization  I/O ports  Data transfer concepts  Timing Diagram  Interrupts. JCT College of Engg & Tech, Coimbatore
  • 3. HARDWARE ARCHITECTURE JCT College of Engg & Tech, Coimbatore
  • 4. CPU INTERNAL STRUCTURE Registers  Six general purpose 8-bit registers: B, C, D, E, H, L.  They can also be combined as register pairs to Perform 16- bit operations: BC, DE, HL.  Registers are programmable (data load, move, etc.)  Accumulator Single 8-bit register that is part of the ALU !  Used for arithmetic / logic operations – the result is always stored in the accumulator. JCT College of Engg & Tech, Coimbatore
  • 5. Program Counter (PC)  This is a register that is used to control the sequencing of the execution of instructions.  This register always holds the address of the next instruction.  Since it holds an address, it must be 16 bits wide. Stack Pointer (SP)  The stack pointer is also a 16-bit register that is used to point into memory.  The memory this register points to is a special area called the stack.  The stack is an area of memory used to hold data that will be retreived soon.  The stack is usually accessed in a Last In First Out (LIFO) fashion. JCT College of Engg & Tech, Coimbatore
  • 6. ARITHMETIC AND LOGIC UNIT  In addition to the arithmetic & logic circuits, the ALU includes the accumulator, which is part of every arithmetic & logic operation.  Also, the ALU includes a temporary register used for holding data temporarily during the execution of the operation. This temporary register is not accessible by the programmer. JCT College of Engg & Tech, Coimbatore
  • 7. ACCUMULATOR  A register in which intermediate arithmetic and logic results are stored.  Example for accumulator use is summing a list of numbers.  The accumulator is initially set to zero, then each number in turn is added to the value in the accumulator.  Only when all numbers have been added is the result held in the accumulator written to main memory or to another, non-accumulator, CPU register. JCT College of Engg & Tech, Coimbatore
  • 8. DATA BUS  The data bus is 'bi-directional'  data or instruction codes from memory or Input/output are transferred into the microprocessor  the result of an operation or computation is sent out from the microprocessor to the memory or input/output.  Depending on the particular microprocessor, the data bus can handle 8 bit or 16 bit data. JCT College of Engg & Tech, Coimbatore
  • 9. ADDRESS BUS  The address bus is 'unidirectional', over which the microprocessor sends an address code to the memory or input/output.  The size (width) of the address bus is specified by the number of bits it can handle.  The more bits there are in the address bus, the more memory locations a microprocessor can access.  A 16 bit address bus is capable of addressing 65,536 (64K) addresses. JCT College of Engg & Tech, Coimbatore
  • 10. CONTROL BUS • The control bus is used by the microprocessor to send out or receive timing and control signals in order to coordinate and regulate its operation and to communicate with other devices, i.e. memory or input/output. JCT College of Engg & Tech, Coimbatore
  • 11. THE CONTROL AND STATUS SIGNALS  There are 4 main control and status signals. These are: 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. WR: Write. Active low. 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 .Usually un-used in small systems. JCT College of Engg & Tech, Coimbatore
  • 12. FREQUENCY CONTROL SIGNALS  There are 3 important pins in the frequency control group.  X0 and X1 are the inputs from the crystal or clock generating circuit.  The frequency is internally divided by 2. So, to run the microprocessor at 3 MHz, a clock running at 6 MHz should be connected to the X0 and X1 pins.  CLK (OUT): An output clock pin to drive the clock of the rest of the system. JCT College of Engg & Tech, Coimbatore
  • 13. FLAG REGISTER JCT College of Engg & Tech, Coimbatore
  • 14. JCT College of Engg & Tech, Coimbatore
  • 15. PIN DESCRIPTION  8085 is a 40 pin IC, The signals from the pins can be grouped as follows  1. Power supply and clock signals 2. Address bus 3. Data bus 4. Control and status signals 5. Interrupts and externally initiated signals 6. Serial I/O ports JCT College of Engg & Tech, Coimbatore
  • 16. POWER SUPPLY AND CLOCK FREQUENCY SIGNALS  Vcc: + 5 volt power supply  Vss: Ground.  X1, X2 : Crystal or R/C network or LC network connections to set the frequency of internal clock generator. The frequency is internally divided by two. Since the basic operating timing frequency is 3 MHz, a 6 MHz crystal is connected externally. CLK (output)-Clock Output is used as the system clock for peripheral and devices interfaced with the microprocessor. JCT College of Engg & Tech, Coimbatore
  • 17. ADDRESS BUS  A8 - A15: (output; 3-state) It carries the most significant 8 bits of the memory address or the 8 bits of the I/O address. DATA BUS • AD0 - AD7 (input/output; 3-state) These multiplexed set of lines used to carry the lower order 8 bit address as well as data bus. • During the op code fetch operation, in the first clock cycle, the lines deliver the lower order address A0 - A7. • In the subsequent IO / memory, read / write clock cycle the lines are used as data bus. • The CPU may read or write out data through these lines. JCT College of Engg & Tech, Coimbatore
  • 18. CONTROL AND STATUS SIGNALS ALE (output) - Address Latch Enable.  It is an output signal used to give information of AD0-AD7 contents.  It is a positive going pulse generated when a new operation is started by uP.  When pulse goes high it indicates that AD0-AD7 are address.  When it is low it indicates that the contents are data. RD (output 3-state, active low)  Read memory or IO device.  This indicates that the selected memory location or I/O device is to be read and that the data bus is ready for accepting data from the memory or I/O device JCT College of Engg & Tech, Coimbatore
  • 19. WR (Write)  Write memory or IO device.  This indicates that the data on the data bus is to be written into the selected memory location or I/O device. IO/M (output) - Select memory or an IO device  This status signal indicates that the read / write operation relates to whether the memory or I/O device.  It goes high to indicate an I/O operation.  It goes low for memory operations. JCT College of Engg & Tech, Coimbatore
  • 20. STATUS SIGNALS JCT College of Engg & Tech, Coimbatore
  • 21. INTERRUPTS AND EXTERNALLY INITIATED OPERATIONS  They are the signals initiated by an external device to request the microprocessor to do a particular task or work.  There are five hardware interrupts called, TRAP RST 7.5 RST 6.5 RST 5.5 INTA  On receipt of an interrupt, the microprocessor acknowledges the interrupt by the active low INTA (Interrupt Acknowledge) signal. JCT College of Engg & Tech, Coimbatore
  • 22. Reset In (Input)  This signal is used to reset the microprocessor.  The program counter inside the microprocessor is set to zero.  The buses are tri-stated. Reset Out (Output)  It indicates CPU is being reset.  Used to reset all the connected devices when the microprocessor is reset. JCT College of Engg & Tech, Coimbatore
  • 23. DIRECT MEMORY ACCESS (DMA)  When 2 or more devices are connected to a common bus, to prevent the devices from interfering with each other, the tri state gates are used to disconnect all devices except the one that is communicating at a given instant.  The CPU controls the data transfer operation between memory and I/O device. Direct Memory Access operation is used for large volume data transfer between memory and an I/O device directly.  The CPU is disabled by tri-stating its buses and the transfer is effected directly by external control circuits. JCT College of Engg & Tech, Coimbatore
  • 24.  HOLD signal is generated by the DMA controller circuit. On receipt of this signal, the microprocessor acknowledges the request by sending out  HLDA signal and leaves out the control of the buses. After the HLDA signal the DMA controller starts the direct transfer of data. READY (input)  Memory and I/O devices will have slower response compared to microprocessors.  Before completing the present job such a slow peripheral may not be able to handle further data or control signal from CPU.  The processor sets the READY signal after completing the present job to access the data.  The microprocessor enters into WAIT state while the READY pin is disabled. JCT College of Engg & Tech, Coimbatore
  • 25. SINGLE BIT SERIAL I/O PORTS  SID (input) Serial input data line  SOD (output) Serial output data line  These signals are used for serial communication. JCT College of Engg & Tech, Coimbatore