SlideShare a Scribd company logo
1 of 31
1 
Intel 8085-Architecture 
Please refer to your text book for diagram 
ALU
Accumulator 
 The accumulator is an 8-bit register that is part of 
the arithmetic/logic unit (ALU). 
 This register is used to store 8-bit data and to 
perform arithmetic and logical operations. 
 The result of an operation is stored in the 
accumulator. 
 The accumulator is also identified as register A. 
2
8085 Programming Model(Registers) 
 The model includes six 8-bit registers (B, C, D, E, 
H & L), one accumulator, and one flag register. 
 It also has two 16-bit registers: 
 the stack pointer (SP); 
 the program counter (PC). 
3
8085 Programming Model(Registers) 
4
General-purpose Registers 
 The 8085 has six general-purpose registers to 
store 8-hit data; 
5 
 B, C, D, E, H, and L. 
 They can be combined as register pairs - BC, DE, 
and HL - to perform some 16-bit operations. 
 The programmer can use these registers to store 
or copy data into the registers by using data copy 
instructions.
Program COUNTER (PC) AND 
STACK POINTER (SP) 
 These are two 16-bit registers used to hold 
memory addresses. 
6 
 PC: 
 The function of the PC is to point to the memory 
address from which the next byte is to be fetched. 
 When a byte (machine code) is being fetched, the 
program counter is incremented by one to point to 
the next memory location.
Program COUNTER (PC) AND 
STACK POINTER (SP) 
7 
 SP: 
 It points to a memory location in R/W memory, 
called the stack. 
 The beginning of the stack is defined by loading a 
16-bit address in the stack pointer. 
 The PC will automatically update when calling to 
/returning from Subroutines.
Stack 
 The stack is one of the most important things you 
must know when programming. 
 Think of the stack as a deck of cards. When you put 
a card on the deck, it will be the top card. Then you 
put another card, then another. 
 When you remove the cards, you remove them 
backwards, the last card first and so on. 
 The stack works the same way, you put (push) 
words (addresses or register pairs) on the stack and 
then remove (pop) them backwards. 
 That's called LIFO, Last In First Out. 
8
Stack 
 There are instructions that allow you to modify SP 
contents but you should NOT change the 
contents of that register if you don't know what 
you're doing! 
9 
 PUSH 
 POP
8085 Flag Register 
10
Flags 
 The ALU includes five flip-flops, which are set or 
reset after an operation according to data 
conditions of the result in the accumulator and 
other registers. 
 They are called Zero (Z), Carry (CY), Sign (S), 
Parity (P), and Auxiliary Carry (AC) flags; 
11
The Flags register 
 There is also a flag register whose bits are affected by the arithmetic & 
logic operations. 
 S-sign flag 
 The sign flag is set if bit D7 of the accumulator is set after an 
arithmetic or logic operation. 
 Z-zero flag 
 Set if the result of the ALU operation is 0. Otherwise is reset. This 
flag is affected by operations on the accumulator as well as other 
registers. (DCR B). 
 AC-Auxiliary Carry 
 This flag is set when a carry is generated from bit D3 and passed 
to D4 . This flag is used only internally for BCD operations. 
 P-Parity flag 
 After an ALU operation, if the result has an even # of 1s, the p-flag 
is set. Otherwise it is cleared. So, the flag can be used to indicate 
even parity. 
 CY-carry flag 
 This flag is set when a carry is generated from bit D7 after an 
unsigned operation. 
 OV-Overflow flag 
 This flag is set when an overflow occurs after a signed operation.
8085 Hardware Model 
 There are three buses: 
 a 16-bit unidirectional address bus to send out 
memory addresses; 
 an 8-bit bidirectional data bus, and a control bus to 
transfer data, and. 
 the control bus for timing signals. 
13
The 8085 and Its Buses 
 The 8085 is an 8-bit general purpose microprocessor that can 
address 64K Byte of memory. 
 It has 40 pins and uses +5V for power. It can run at a maximum 
frequency of 3 MHz. 
 The pins on the chip can be grouped into 6 groups: 
 Address Bus. 
 Data Bus. 
 Control and Status Signals. 
 Power supply and frequency. 
 Externally Initiated Signals. 
 Serial I/O ports.
ALE used to demultiplex address/data bus
The Address and Data Bus Systems 
 The address bus has 8 signal lines A8 – A15 which are 
unidirectional. 
 The other 8 address bits are multiplexed (time shared) with the 8 
data bits. 
 So, the bits AD0 – AD7 are bi-directional and serve as A0 – A7 and 
D0 – D7 at the same time. 
 During the execution of the instruction, these lines carry the 
address bits during the early part, then during the late parts of 
the execution, they carry the 8 data bits. 
 In order to separate the address from the data, we can use a latch 
to save the value before the function of the bits changes.
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.
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.
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.
8085 Hardware Model 
20 
 Two major segments: 
 One segment includes the arithmetic/logic unit 
(ALU) and an 8-bit register called an accumulator, 
instruction decoder, and flags. 
 The second segment shows 8-bit and 16-bit 
registers. 
 Both segments are connected with various internal 
connections called an internal bus. 
 The arithmetic and logical operations are performed 
in the ALU. Results are stored in the accumulator, 
and flip-flops, called flags, are set or reset to reflect 
the results
8085 Hardware Model 
21
BUS System 
A15-A8 
Latch 
AD7-AD0 
A7- A0 
D7- D0 
8085 
ALE 
WR RD IO/M 
CS 
1K Byte 
Memory 
Chip 
RD WR 
A15- A10 
A9- A0 
Chip Selection 
Circuit
8085 Pinout  8085 μp consists of 16 signal pins use as address bus. 
 Divide into 2 part: A15 – A8 (upper) and 
AD7 – AD0 (lower). 
 A15 – A8 : Unidirectional, known as ‘high order 
address’. 
 AD7 – AD0 : bidirectional and dual purpose (address 
and data placed once at a time). 
 AD7 – AD0 also known as ‘low order address’. 
 To execute an instruction, at early stage AD7 – AD0 
uses as address bus and alternately as data bus for the 
next cycle. 
 The method to change from address bus to data bus 
known as ‘bus multiplexing’.
Control and Status Signals.
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 not used in small systems.
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.
Clock Pins 
 8085 MPU has 3 pins 
that control or present 
the clock signal. 
 X1 and X2 pins 
determine the clock 
frequency. 
 CLK OUT is a TTL 
square-wave output 
clock. 
 The CLOCK OUT is 
one-half the crystal 
frequency. 
8085A 
X1 CLK OUT 
X2 
6 MHz
TRAP 
RST7.5 
RST6.5 
RST 5.5 
INTR 
INTA 
8085 
8085 Interrupts
8085 Interrupt Structure 
 There are 5 interrupt inputs: 
 TRAP (nonmaskable) 
 RST7.5 
 RST6.5 
 RST5.5 
 INTR
Intel 8085 Pin 
Configuration
31 
Signals and I/O Pins

More Related Content

What's hot

Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delayHemant Chetwani
 
Programming 8051 Timers
Programming 8051 Timers Programming 8051 Timers
Programming 8051 Timers ViVek Patel
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051Sam Patel
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerSudhanshu Janwadkar
 
8051 Assembly Language Programming
8051 Assembly Language Programming8051 Assembly Language Programming
8051 Assembly Language ProgrammingRavikumar Tiwari
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1techbed
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA ControllerShivamSood22
 
Arithmetic logic shift unit
Arithmetic logic shift unitArithmetic logic shift unit
Arithmetic logic shift unitrishi ram khanal
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255Dr.P.Parandaman
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259MdFazleRabbi18
 

What's hot (20)

8255 PPI
8255 PPI8255 PPI
8255 PPI
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
 
Programming 8051 Timers
Programming 8051 Timers Programming 8051 Timers
Programming 8051 Timers
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
8051 Assembly Language Programming
8051 Assembly Language Programming8051 Assembly Language Programming
8051 Assembly Language Programming
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Arithmetic logic shift unit
Arithmetic logic shift unitArithmetic logic shift unit
Arithmetic logic shift unit
 
AIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEMAIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEM
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
8086 signals
8086 signals8086 signals
8086 signals
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 

Similar to 8085 architecture

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
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-pptsatyamshra
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description Vijay Kumar
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptxISMT College
 
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 MicrocontrollerRAHUL RANJAN
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorZeeshan Ahmed
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Neelam Kapoor
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notespavihari
 
An introduction to microprocessor architecture using INTEL 8085 as a classic...
An introduction to microprocessor  architecture using INTEL 8085 as a classic...An introduction to microprocessor  architecture using INTEL 8085 as a classic...
An introduction to microprocessor architecture using INTEL 8085 as a classic...Prasad Deshpande
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085Dhaval Barot
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorIama Marsian
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Suchismita Paul
 

Similar to 8085 architecture (20)

8085 architecture
8085 architecture8085 architecture
8085 architecture
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-ppt
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
 
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
 
8085.ppt
8085.ppt8085.ppt
8085.ppt
 
Lecture1 The 8085 Microprocessor
Lecture1 The 8085 MicroprocessorLecture1 The 8085 Microprocessor
Lecture1 The 8085 Microprocessor
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 
An introduction to microprocessor architecture using INTEL 8085 as a classic...
An introduction to microprocessor  architecture using INTEL 8085 as a classic...An introduction to microprocessor  architecture using INTEL 8085 as a classic...
An introduction to microprocessor architecture using INTEL 8085 as a classic...
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Unit 2 8085.pdf
Unit 2 8085.pdfUnit 2 8085.pdf
Unit 2 8085.pdf
 
8085 intro
8085 intro8085 intro
8085 intro
 
Microprocessor 8085
Microprocessor 8085Microprocessor 8085
Microprocessor 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 

Recently uploaded

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

8085 architecture

  • 1. 1 Intel 8085-Architecture Please refer to your text book for diagram ALU
  • 2. Accumulator  The accumulator is an 8-bit register that is part of the arithmetic/logic unit (ALU).  This register is used to store 8-bit data and to perform arithmetic and logical operations.  The result of an operation is stored in the accumulator.  The accumulator is also identified as register A. 2
  • 3. 8085 Programming Model(Registers)  The model includes six 8-bit registers (B, C, D, E, H & L), one accumulator, and one flag register.  It also has two 16-bit registers:  the stack pointer (SP);  the program counter (PC). 3
  • 5. General-purpose Registers  The 8085 has six general-purpose registers to store 8-hit data; 5  B, C, D, E, H, and L.  They can be combined as register pairs - BC, DE, and HL - to perform some 16-bit operations.  The programmer can use these registers to store or copy data into the registers by using data copy instructions.
  • 6. Program COUNTER (PC) AND STACK POINTER (SP)  These are two 16-bit registers used to hold memory addresses. 6  PC:  The function of the PC is to point to the memory address from which the next byte is to be fetched.  When a byte (machine code) is being fetched, the program counter is incremented by one to point to the next memory location.
  • 7. Program COUNTER (PC) AND STACK POINTER (SP) 7  SP:  It points to a memory location in R/W memory, called the stack.  The beginning of the stack is defined by loading a 16-bit address in the stack pointer.  The PC will automatically update when calling to /returning from Subroutines.
  • 8. Stack  The stack is one of the most important things you must know when programming.  Think of the stack as a deck of cards. When you put a card on the deck, it will be the top card. Then you put another card, then another.  When you remove the cards, you remove them backwards, the last card first and so on.  The stack works the same way, you put (push) words (addresses or register pairs) on the stack and then remove (pop) them backwards.  That's called LIFO, Last In First Out. 8
  • 9. Stack  There are instructions that allow you to modify SP contents but you should NOT change the contents of that register if you don't know what you're doing! 9  PUSH  POP
  • 11. Flags  The ALU includes five flip-flops, which are set or reset after an operation according to data conditions of the result in the accumulator and other registers.  They are called Zero (Z), Carry (CY), Sign (S), Parity (P), and Auxiliary Carry (AC) flags; 11
  • 12. The Flags register  There is also a flag register whose bits are affected by the arithmetic & logic operations.  S-sign flag  The sign flag is set if bit D7 of the accumulator is set after an arithmetic or logic operation.  Z-zero flag  Set if the result of the ALU operation is 0. Otherwise is reset. This flag is affected by operations on the accumulator as well as other registers. (DCR B).  AC-Auxiliary Carry  This flag is set when a carry is generated from bit D3 and passed to D4 . This flag is used only internally for BCD operations.  P-Parity flag  After an ALU operation, if the result has an even # of 1s, the p-flag is set. Otherwise it is cleared. So, the flag can be used to indicate even parity.  CY-carry flag  This flag is set when a carry is generated from bit D7 after an unsigned operation.  OV-Overflow flag  This flag is set when an overflow occurs after a signed operation.
  • 13. 8085 Hardware Model  There are three buses:  a 16-bit unidirectional address bus to send out memory addresses;  an 8-bit bidirectional data bus, and a control bus to transfer data, and.  the control bus for timing signals. 13
  • 14. The 8085 and Its Buses  The 8085 is an 8-bit general purpose microprocessor that can address 64K Byte of memory.  It has 40 pins and uses +5V for power. It can run at a maximum frequency of 3 MHz.  The pins on the chip can be grouped into 6 groups:  Address Bus.  Data Bus.  Control and Status Signals.  Power supply and frequency.  Externally Initiated Signals.  Serial I/O ports.
  • 15. ALE used to demultiplex address/data bus
  • 16. The Address and Data Bus Systems  The address bus has 8 signal lines A8 – A15 which are unidirectional.  The other 8 address bits are multiplexed (time shared) with the 8 data bits.  So, the bits AD0 – AD7 are bi-directional and serve as A0 – A7 and D0 – D7 at the same time.  During the execution of the instruction, these lines carry the address bits during the early part, then during the late parts of the execution, they carry the 8 data bits.  In order to separate the address from the data, we can use a latch to save the value before the function of the bits changes.
  • 17. 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.
  • 18. 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.
  • 19. 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.
  • 20. 8085 Hardware Model 20  Two major segments:  One segment includes the arithmetic/logic unit (ALU) and an 8-bit register called an accumulator, instruction decoder, and flags.  The second segment shows 8-bit and 16-bit registers.  Both segments are connected with various internal connections called an internal bus.  The arithmetic and logical operations are performed in the ALU. Results are stored in the accumulator, and flip-flops, called flags, are set or reset to reflect the results
  • 22. BUS System A15-A8 Latch AD7-AD0 A7- A0 D7- D0 8085 ALE WR RD IO/M CS 1K Byte Memory Chip RD WR A15- A10 A9- A0 Chip Selection Circuit
  • 23. 8085 Pinout  8085 μp consists of 16 signal pins use as address bus.  Divide into 2 part: A15 – A8 (upper) and AD7 – AD0 (lower).  A15 – A8 : Unidirectional, known as ‘high order address’.  AD7 – AD0 : bidirectional and dual purpose (address and data placed once at a time).  AD7 – AD0 also known as ‘low order address’.  To execute an instruction, at early stage AD7 – AD0 uses as address bus and alternately as data bus for the next cycle.  The method to change from address bus to data bus known as ‘bus multiplexing’.
  • 24. Control and Status Signals.
  • 25. 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 not used in small systems.
  • 26. 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.
  • 27. Clock Pins  8085 MPU has 3 pins that control or present the clock signal.  X1 and X2 pins determine the clock frequency.  CLK OUT is a TTL square-wave output clock.  The CLOCK OUT is one-half the crystal frequency. 8085A X1 CLK OUT X2 6 MHz
  • 28. TRAP RST7.5 RST6.5 RST 5.5 INTR INTA 8085 8085 Interrupts
  • 29. 8085 Interrupt Structure  There are 5 interrupt inputs:  TRAP (nonmaskable)  RST7.5  RST6.5  RST5.5  INTR
  • 30. Intel 8085 Pin Configuration
  • 31. 31 Signals and I/O Pins