SlideShare ist ein Scribd-Unternehmen logo
1 von 45
8085 Microprocessor
8085 ARCHITECTURE
8085 BUS ORGANIZATION AND STRUCTURE
8085 PIN FUNCTIONS
History of microprocessor
Intel's 4004 is considered the first microprocesor .
The 4004 was later followed in 1972 by the 8008, the
world's first 8-bit microprocessor.
History of microprocessor……
Then is the 8080 microprocessor evolved in
1974.
Then comes 8085 that is the 8 bit
microprocessor
Microprocessor 8085
• 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.
8085 ARCHITECTURE BLOCK DIAGRAM
Register Section
• Temporary Register
• General Purpose Register
• Special Purpose Registers
Temporary Registers
• In 8085 available temporary register are temporary data register and
W and Z registers. These registers are not available to the
programmer, but 8085 uses them internally to hold temporary data
during execution of some instructions.
• W and Z are two 8-bit temporary registers, used to hold 8-bit
data/address during execution of some instructions.
General Purpose RegistersB,C,D,E,H &L are used as general purpose register.
Each 8 bit long .
Apart from the above function these registers can also be used to
work in pairs to hold 16-bit data.
They can work in pairs such as B-C, D-E and H-L to store 16-bit
data.
The H-L pair works as a memory pointer.
A memory pointer holds the address of a particular memory location.
They can store 16-bit address as they work in pair.
Special Purpose Register
• Accumulator
• Status or Flag Register
• Instruction Register
• Program Counter
• Stack Pointer
Accumulator
• The accumulator is an 8-bit register that is a part of
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.
• It also works as a via register for I/O accesses i.e. it
reads data from input device and similarly can transfer
data to output device.
Status or Flag Register
Flag register is a group of flip flops used to give status of different
operations result.
The flag register is connected to ALU.
Once an operation is performed by ALU the result is transferred on
internal data bus and status of result will be stored in flip flops.
They are called Zero (Z), Carry (CY), Sign (S), Parity (P), and
Auxiliary Carry (AC) flags.
Flag Register…
• A flag register contains a number of flags either to
indicate certain conditions arising after arithmetic and
logical operations or to control certain operations.
• The flags which indicate conditions are known as
condition flags. The flags which are used to control
certain operations are called control flags.
• A flag is a flip-flop which is set or reset by the
processor to indicate certain conditions or set/reset by
the programmer to control certain operations.
Flag Register… Carry flag(CY):
 If an operation performed in ALU generates the carry from D7 to next stage then CY flag is set,
else it is reset.
 Auxiliary carry(AC):
 If an operation performed in ALU generates the carry from lower nibble (D0 to D3) to upper
nibble (D4 to D7) AC flag is set, else it resets.
 Zero flag(z):
 If an operation performed in ALU results 0value of entire 8-bits then zero flag is set, else it resets
 Sign flag(s):
 If MSB bit =0 then the number is positive, else it is negative.
 Parity flag(p):
 If the result contains even no. of ones this flag is set and for odd no. of ones this flag is reset.
Instruction Register
Temporary store for the current instruction of a program. Latest instruction sent here
from memory prior to execution. Decoder then takes instruction and decodes or
interprets the instruction. Decoded instruction then passed to next stage.
Instruction register is 8-bit register just like every other register of
microprocessor. Consider an instruction. The instruction may be anything like adding
two data's, moving a data, copying a data etc. When such an instruction is fetched from
memory, it is directed to Instruction register. So the instruction registers are specifically
to store the instructions that are fetched from memory.
There is an Instruction decoder which decodes the information's present in the
Instruction register for further processing.
Program Counter
• This 16-bit register deals with sequencing the execution of
instructions. This register is a memory pointer. Memory
locations have 16-bit addresses, and that is why this is a
16-bit register.
• The microprocessor uses this register to sequence the
execution of the instructions. The function of the program counter
is to point to the memory address from which the next byte is to be
fetched. When a byte is being fetched, the program counter is
incremented by one to point to the next memory location
Stack Pointer
• The stack pointer is also a 16-bit register used as a memory pointer. It points to a
memory location in R/W memory, called the stack. The beginning of the stack is
defined by loading 16-bit address in the stack pointer.
• Stack pointer is also a 16-bit register which is used as a memory pointer.
• A stack is nothing but the portion of RAM (Random access memory).
• Stack pointer maintains the address of the last byte that is entered into stack.
• Each time when the data is loaded into stack, Stack pointer gets decremented.
• Conversely it is incremented when data is retrieved from stack
ALU
• The ALU performs the actual numerical and logic operation such as add,
subtract, AND, OR, etc. Uses data from memory and from Accumulator to
perform arithmetic. Always stores result of operation in Accumulator.
• It is not accessible by user.
• The word length of ALU depends upon of an internal data bus.
• IT is 8 bit. It is always controlled by timing and control circuits.
• It provides status or result of flag register.
Arithmetic and Logical Section
• Instruction Decoder and Machine cycle Encoder
• Address Buffer
• Address/Data Buffer
• Incrementer/Decrementer Address Latch
• Interrupt Control
• Serial I/O Control Group
• Timing And Control
Instruction Decoder and Machine cycle Encoder
• It accepts an OPCODE from instruction register, decodes it and
gives
the decoded information to control logic.
• The information includes what operation is to be performed, who is
going to perform it, etc. It means it will understand the instruction
in
this block.
• The decoded information is given to the timing and control unit that
provides control signals
Address Buffer
• The contents of the stack pointer and program counter are loaded into the
address buffer and address-data buffer.
• These buffers are then used to drive the external address bus and address-data
bus.
• As the memory and I/O chips are connected to these buses, the CPU can
exchange desired data to the memory and I/O chips.
• The address-data buffer is not only connected to the external data bus but also to
the internal data bus which consists of 8-bits.
• The address data buffer can both send and receive data from internal data bus.
• The contents of the stack pointer and program counter are loaded into the
address buffer and address-data buffer. These buffers are then used to
drive the external address bus and address-data bus. As the memory and I/O
chips are connected to these buses, the CPU can exchange desired data to
the memory and I/O chips.
• The address-data buffer is not only connected to the external data bus but also to
the internal data bus which consists of 8-bits. The address data buffer can
both send and receive data from internal data bus.
Incrementer/Decrementer Address Latch
• The 8-bit contents of a register or a memory location
can be incremented or decremented by 1.
• This 16-bit register is used to increment or
decrement the content of program counter and
stack pointer register by 1.
• Increment or decrement can be performed on any
register or a memory location.
Interrupt Control
• Consider that a microprocessor is executing the main program.
Now whenever the interrupt signal is enabled or requested the
microprocessor shifts the control from main program to process
the incoming request and after the completion of request, the
control goes back to the main program.
• For example an Input/output device may send an interrupt signal
to notify that the data is ready for input. The microprocessor
temporarily stops the execution of main program and transfers
control to I/O device. After collecting the input data the control
is transferred back to main program.
Serial I/O Control Group
• The data transferred on to data bus is parallel data,
but under some conditions it is advantageous to use
serial data transfer at that time this control group is
brought into application.
• The input and output of serial data can be carried
out using 2 instructions in 8085:
• 1. SID-Serial Input Data
• 2. SOD-Serial Output Data
Timing And Control
Timing and control unit is a very important unit as it synchronizes the registers
and flow of data through various registers and other units.
It accepts data from instruction decoder and generates micro steps to perform it
,in addition it accepts clock inputs for synchronizing operations.
This unit consists of an oscillator and controller sequencer which sends control
signals needed for internal and external control of data and other units.
1. Control Signals: READY, RD(bar), WR(bar), ALE
2. Status Signals: S0, S1, IO/M(bar)
3. DMA Signals: HOLD, HLDA
4. RESET Signals: RESET IN(bar), RESET OUT.
Bus Organization
• What is a Bus?
• It is a set of pins, wires or signals having common
functions as bus.
• What is system Bus?
• A bus is a bundle of wires that are grouped together to
serve a single purpose in microprocessor, generally there
are three sets of communication lines that are called
buses.
• They are address bus, the data bus and control bus.
Bus Structure
Address Bus
• The bus over which the microprocessor sends out the address
of a memory location or I/O location is called as the address
bus.
• In 8085 microprocessor, Address bus is of 16 bits. This means
that Microprocessor 8085 can transfer maximum 16 bit address
which means it can address 65,536 different memory locations.
• This bus is multiplexed with 8 bit data bus. So, the most
significant bits (MSB) of address goes through Address bus
and LSB goes through multiplexed data bus.
• In 8085 address bus is 16 bit A0 – A15
Data Bus
• It is bi-directional as Microprocessor requires to send or
receiver data. The data bus also works as bus in 8 bits long.
• A data bus simply carries data. Internal buses carry information
within the processor, while external buses carry data between
the processor and the memory. Typically, the same data bus is
used for both read/write operations.
• When it is a write operation, the processor will put the data on
to the data bus. When it is the read operation, the memory
controller will get the data from the specific memory block and
put it in to the data bus.
• The data bus in8085 is of 8 parallel lines D0 – D7
Control Bus
• The control bus is used for sending control signals to the
memory and I/O devices. The CPU sends control signal
on the control bus to enable the outputs of addressed
memory devices or I/O port devices.
• Some of the control bus signals are as follows:
• 1.Memory read
• 2.Memory write
• 3.I/O read
• 4.I/O write.
33 Signals and I/O Pins
34
Intel 8085 Pin
Configuration
Pin Diagram of 8085 Microprocessor
• Power Supply Signal and clock signal:
• VCC :- Vcc is to be connected to +5V power supply.
• Vss :- Ground reference
• X1 and X2:-
• This pin is used for providing the clock frequency to the
microprocessor. Generally Crystal oscillator or LC
oscillator is used to generate the frequency. The frequency
generated here is internally divided into two. As we know
that the basic operating timing frequency of the
microprocessor is 3 MHz so 6 MHz frequency is applied.
• 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 opcode 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.
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 microprocessor.
• 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
• WR (output 3-state, active low)
• 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.
• I/O 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.
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
• Reset In (input, active low)
• 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.
References
• A course on 8085 Microprocessor –
Prentice Hall
• Microprocessor 8085 by Ramesh Gaonkar
Mp 8085
Mp 8085

Weitere ähnliche Inhalte

Was ist angesagt?

introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessorsvishi1993
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 completeShubham Singh
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051hello_priti
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERAnkita Jaiswal
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255Dr.P.Parandaman
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modesVijay Kumar
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Instruction cycle presentation
Instruction   cycle presentationInstruction   cycle presentation
Instruction cycle presentationMoniba Irfan
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
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 setSaumitra Rukmangad
 
Rom (read only memory)
Rom (read only memory)Rom (read only memory)
Rom (read only memory)Hemin Patel
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architectureprasadpawaskar
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessorIffat Anjum
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller918007165995
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessorAMAN SRIVASTAVA
 

Was ist angesagt? (20)

introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Instruction cycle presentation
Instruction   cycle presentationInstruction   cycle presentation
Instruction cycle presentation
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
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
 
Rom (read only memory)
Rom (read only memory)Rom (read only memory)
Rom (read only memory)
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
Processors
ProcessorsProcessors
Processors
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 

Ähnlich wie Mp 8085

8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architectureArashdeepkaur16
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptxlec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptxMadavanR1
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptxMemonaMemon1
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architectureVARUN BABUNELSON
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessorShifali Sharma
 
Mechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptxMechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptxssuser823c58
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 
Microprocessor and Microcontroller lec2
Microprocessor and Microcontroller lec2Microprocessor and Microcontroller lec2
Microprocessor and Microcontroller lec2Ameen San
 
Ree602 microprocessor unit ii
Ree602  microprocessor unit iiRee602  microprocessor unit ii
Ree602 microprocessor unit iiMAHMOOD ilahi
 

Ähnlich wie Mp 8085 (20)

8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architecture
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
MPMC
MPMC MPMC
MPMC
 
c++
c++ c++
c++
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptxlec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
 
MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Microprocessors 8085 architecture
Microprocessors 8085 architectureMicroprocessors 8085 architecture
Microprocessors 8085 architecture
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
 
Mechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptxMechatronics UNIT 2.pptx
Mechatronics UNIT 2.pptx
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
Microprocessor and Microcontroller lec2
Microprocessor and Microcontroller lec2Microprocessor and Microcontroller lec2
Microprocessor and Microcontroller lec2
 
Ree602 microprocessor unit ii
Ree602  microprocessor unit iiRee602  microprocessor unit ii
Ree602 microprocessor unit ii
 

Kürzlich hochgeladen

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
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
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
(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
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
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
 

Kürzlich hochgeladen (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
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
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(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...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
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
 

Mp 8085

  • 2. 8085 ARCHITECTURE 8085 BUS ORGANIZATION AND STRUCTURE 8085 PIN FUNCTIONS
  • 3. History of microprocessor Intel's 4004 is considered the first microprocesor . The 4004 was later followed in 1972 by the 8008, the world's first 8-bit microprocessor.
  • 4. History of microprocessor…… Then is the 8080 microprocessor evolved in 1974. Then comes 8085 that is the 8 bit microprocessor
  • 5. Microprocessor 8085 • 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.
  • 7.
  • 8. Register Section • Temporary Register • General Purpose Register • Special Purpose Registers
  • 9. Temporary Registers • In 8085 available temporary register are temporary data register and W and Z registers. These registers are not available to the programmer, but 8085 uses them internally to hold temporary data during execution of some instructions. • W and Z are two 8-bit temporary registers, used to hold 8-bit data/address during execution of some instructions.
  • 10. General Purpose RegistersB,C,D,E,H &L are used as general purpose register. Each 8 bit long . Apart from the above function these registers can also be used to work in pairs to hold 16-bit data. They can work in pairs such as B-C, D-E and H-L to store 16-bit data. The H-L pair works as a memory pointer. A memory pointer holds the address of a particular memory location. They can store 16-bit address as they work in pair.
  • 11. Special Purpose Register • Accumulator • Status or Flag Register • Instruction Register • Program Counter • Stack Pointer
  • 12. Accumulator • The accumulator is an 8-bit register that is a part of 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. • It also works as a via register for I/O accesses i.e. it reads data from input device and similarly can transfer data to output device.
  • 13. Status or Flag Register Flag register is a group of flip flops used to give status of different operations result. The flag register is connected to ALU. Once an operation is performed by ALU the result is transferred on internal data bus and status of result will be stored in flip flops. They are called Zero (Z), Carry (CY), Sign (S), Parity (P), and Auxiliary Carry (AC) flags.
  • 14. Flag Register… • A flag register contains a number of flags either to indicate certain conditions arising after arithmetic and logical operations or to control certain operations. • The flags which indicate conditions are known as condition flags. The flags which are used to control certain operations are called control flags. • A flag is a flip-flop which is set or reset by the processor to indicate certain conditions or set/reset by the programmer to control certain operations.
  • 15. Flag Register… Carry flag(CY):  If an operation performed in ALU generates the carry from D7 to next stage then CY flag is set, else it is reset.  Auxiliary carry(AC):  If an operation performed in ALU generates the carry from lower nibble (D0 to D3) to upper nibble (D4 to D7) AC flag is set, else it resets.  Zero flag(z):  If an operation performed in ALU results 0value of entire 8-bits then zero flag is set, else it resets  Sign flag(s):  If MSB bit =0 then the number is positive, else it is negative.  Parity flag(p):  If the result contains even no. of ones this flag is set and for odd no. of ones this flag is reset.
  • 16. Instruction Register Temporary store for the current instruction of a program. Latest instruction sent here from memory prior to execution. Decoder then takes instruction and decodes or interprets the instruction. Decoded instruction then passed to next stage. Instruction register is 8-bit register just like every other register of microprocessor. Consider an instruction. The instruction may be anything like adding two data's, moving a data, copying a data etc. When such an instruction is fetched from memory, it is directed to Instruction register. So the instruction registers are specifically to store the instructions that are fetched from memory. There is an Instruction decoder which decodes the information's present in the Instruction register for further processing.
  • 17. Program Counter • This 16-bit register deals with sequencing the execution of instructions. This register is a memory pointer. Memory locations have 16-bit addresses, and that is why this is a 16-bit register. • The microprocessor uses this register to sequence the execution of the instructions. The function of the program counter is to point to the memory address from which the next byte is to be fetched. When a byte is being fetched, the program counter is incremented by one to point to the next memory location
  • 18. Stack Pointer • The stack pointer is also a 16-bit register used as a memory pointer. It points to a memory location in R/W memory, called the stack. The beginning of the stack is defined by loading 16-bit address in the stack pointer. • Stack pointer is also a 16-bit register which is used as a memory pointer. • A stack is nothing but the portion of RAM (Random access memory). • Stack pointer maintains the address of the last byte that is entered into stack. • Each time when the data is loaded into stack, Stack pointer gets decremented. • Conversely it is incremented when data is retrieved from stack
  • 19. ALU • The ALU performs the actual numerical and logic operation such as add, subtract, AND, OR, etc. Uses data from memory and from Accumulator to perform arithmetic. Always stores result of operation in Accumulator. • It is not accessible by user. • The word length of ALU depends upon of an internal data bus. • IT is 8 bit. It is always controlled by timing and control circuits. • It provides status or result of flag register.
  • 20. Arithmetic and Logical Section • Instruction Decoder and Machine cycle Encoder • Address Buffer • Address/Data Buffer • Incrementer/Decrementer Address Latch • Interrupt Control • Serial I/O Control Group • Timing And Control
  • 21. Instruction Decoder and Machine cycle Encoder • It accepts an OPCODE from instruction register, decodes it and gives the decoded information to control logic. • The information includes what operation is to be performed, who is going to perform it, etc. It means it will understand the instruction in this block. • The decoded information is given to the timing and control unit that provides control signals
  • 22. Address Buffer • The contents of the stack pointer and program counter are loaded into the address buffer and address-data buffer. • These buffers are then used to drive the external address bus and address-data bus. • As the memory and I/O chips are connected to these buses, the CPU can exchange desired data to the memory and I/O chips. • The address-data buffer is not only connected to the external data bus but also to the internal data bus which consists of 8-bits. • The address data buffer can both send and receive data from internal data bus. • The contents of the stack pointer and program counter are loaded into the address buffer and address-data buffer. These buffers are then used to drive the external address bus and address-data bus. As the memory and I/O chips are connected to these buses, the CPU can exchange desired data to the memory and I/O chips. • The address-data buffer is not only connected to the external data bus but also to the internal data bus which consists of 8-bits. The address data buffer can both send and receive data from internal data bus.
  • 23. Incrementer/Decrementer Address Latch • The 8-bit contents of a register or a memory location can be incremented or decremented by 1. • This 16-bit register is used to increment or decrement the content of program counter and stack pointer register by 1. • Increment or decrement can be performed on any register or a memory location.
  • 24. Interrupt Control • Consider that a microprocessor is executing the main program. Now whenever the interrupt signal is enabled or requested the microprocessor shifts the control from main program to process the incoming request and after the completion of request, the control goes back to the main program. • For example an Input/output device may send an interrupt signal to notify that the data is ready for input. The microprocessor temporarily stops the execution of main program and transfers control to I/O device. After collecting the input data the control is transferred back to main program.
  • 25. Serial I/O Control Group • The data transferred on to data bus is parallel data, but under some conditions it is advantageous to use serial data transfer at that time this control group is brought into application. • The input and output of serial data can be carried out using 2 instructions in 8085: • 1. SID-Serial Input Data • 2. SOD-Serial Output Data
  • 26. Timing And Control Timing and control unit is a very important unit as it synchronizes the registers and flow of data through various registers and other units. It accepts data from instruction decoder and generates micro steps to perform it ,in addition it accepts clock inputs for synchronizing operations. This unit consists of an oscillator and controller sequencer which sends control signals needed for internal and external control of data and other units. 1. Control Signals: READY, RD(bar), WR(bar), ALE 2. Status Signals: S0, S1, IO/M(bar) 3. DMA Signals: HOLD, HLDA 4. RESET Signals: RESET IN(bar), RESET OUT.
  • 27. Bus Organization • What is a Bus? • It is a set of pins, wires or signals having common functions as bus. • What is system Bus? • A bus is a bundle of wires that are grouped together to serve a single purpose in microprocessor, generally there are three sets of communication lines that are called buses. • They are address bus, the data bus and control bus.
  • 29. Address Bus • The bus over which the microprocessor sends out the address of a memory location or I/O location is called as the address bus. • In 8085 microprocessor, Address bus is of 16 bits. This means that Microprocessor 8085 can transfer maximum 16 bit address which means it can address 65,536 different memory locations. • This bus is multiplexed with 8 bit data bus. So, the most significant bits (MSB) of address goes through Address bus and LSB goes through multiplexed data bus. • In 8085 address bus is 16 bit A0 – A15
  • 30. Data Bus • It is bi-directional as Microprocessor requires to send or receiver data. The data bus also works as bus in 8 bits long. • A data bus simply carries data. Internal buses carry information within the processor, while external buses carry data between the processor and the memory. Typically, the same data bus is used for both read/write operations. • When it is a write operation, the processor will put the data on to the data bus. When it is the read operation, the memory controller will get the data from the specific memory block and put it in to the data bus. • The data bus in8085 is of 8 parallel lines D0 – D7
  • 31. Control Bus • The control bus is used for sending control signals to the memory and I/O devices. The CPU sends control signal on the control bus to enable the outputs of addressed memory devices or I/O port devices. • Some of the control bus signals are as follows: • 1.Memory read • 2.Memory write • 3.I/O read • 4.I/O write.
  • 32.
  • 33. 33 Signals and I/O Pins
  • 35. Pin Diagram of 8085 Microprocessor
  • 36. • Power Supply Signal and clock signal: • VCC :- Vcc is to be connected to +5V power supply. • Vss :- Ground reference • X1 and X2:- • This pin is used for providing the clock frequency to the microprocessor. Generally Crystal oscillator or LC oscillator is used to generate the frequency. The frequency generated here is internally divided into two. As we know that the basic operating timing frequency of the microprocessor is 3 MHz so 6 MHz frequency is applied.
  • 37. • 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 opcode 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.
  • 38. 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 microprocessor. • When pulse goes high it indicates that AD0-AD7 are address. • When it is low it indicates that the contents are data.
  • 39. • 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 • WR (output 3-state, active low) • 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.
  • 40. • I/O 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.
  • 41. 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
  • 42. • Reset In (input, active low) • 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.
  • 43. References • A course on 8085 Microprocessor – Prentice Hall • Microprocessor 8085 by Ramesh Gaonkar