SlideShare a Scribd company logo
1 of 20
8085 microprocessor
INTRODUCTION
• 8085 microprocessor was introduced by
Intel in the year 1976.
• This microprocessor is an update of 8080
microprocessor.
• The 8080 processor was updated with
Enable/Disable instruction pins and
Interrupt pins to form the 8085
microprocessor.
Features of 8085
• It is an 8 bit microprocessor.
• It has 16 bit address lines, hence it can access
(216
) 64 kB of memory.
• It provides 8-bit I/O addresses to access(28
) 256
I/O ports.
• It has 8 bit accumulator, flag register, instruction
register, six 8 bit general purpose register and
two 16 bit register.
• It provide five hardware interrupts : TRAP,RST
7.5,RST 6.5,RST 5.5 AND INTR.
Architecture of 8085
microprocessor
It consists of various functional blocks as listed below:-
1. Registers
2. Arithmetic and logic unit
3. Instruction decoder and machine cycle encoder.
4. Address buffer
5. Address/Data buffer
6. Increment/Decrement address latch
7. Interrupt control
8. Serial I/O control
9. Timing and control circuitry
General Purpose Register
Individual B C D E H L
Combination B&C D&E H&L
Temporary Register
Temporary data register
W and Z registers
Special Purpose Register
Accumulator
Flag Register
Instruction Register
Sixteen Bit register
Program Counter(PC)
Stack Pointer(SP)
 General purpose resistors-
The 8 bit general purpose register B,C,D,E,H and l can be used a separate 8 bit register or as
16 bit register pair ,BC,DE and HL.When used in register pair mode,the higher byte resides in
the first register and lower order byte resides in the second register.
 Temporary register-
1. Temporary data register-
The ALU has two inputs. One input is supplied by accumulator and other from temporary data
register. The programmer can not access its temporary data register.
2. W and Z register-
These registers are used to hold 8 bit data during execution of some instruction.
 Special Purpose registers-
1. Register A (Accumulator)-
It is extensively used in arithmetic, logic load and store operations, as well as in (I/O)
operations.
2. Flag register-
It is an 8 bit register in which five of the bits carry significant infromation in the form of flags
S(sign flag),Z(zero flag),AC(Auxuliary Carry),P(parity flag) and CY(carry flag) as shown in fig.
S Z AC P CY
D7 D6 D5 D4 D3 D2 D1 D0
S-Sign flag-After the execution of arithmetic or logical operations, If bit D7 of the result is
1,the sign flag is set means negative. If d7 is o, the number will be considered as positive
number.
Z-Zero flag-The zero flag sets if the result of operation in ALU is zero and the flag resets if the
result is non zero.
AC-This flag is set if there is an overflow out of bit 3.
P-Parity flag-If the result has even number of 1’s ,the parity flag is set.if the parity is odd,flag
is reset.
CY-Carry flag-This flag is set if there is an overflow out of bit 7.
Instruction register-The CPU stores this opcode in a register called the instruction register.
 Sixteen bit registers-
1. Program Counter(PC)-
The program counter is a special type of register which at a given time, stores the address of
the next instruction to be fetched.
2. Stack pointer(SP)-
A 16 bit stack pointer in used to hold the address of the most recent stack entry .
 Arithmetic and logic unit-
Arithmetic and logic unit performs the arithmetic and logic operations on eight bit
variables.
 Instruction Decoder-
The instruction decoder decodes the opcode stored in the instruction register and
accordingly gives
the timing and control signal which control the register,the data buffer,ALU.
 Address Buffer-
This is an 8 bit unidirectional buffer.It is used to drive external high order address
bus(A15-A8).
Address/Data Buffer-
This is an 8 bit bidirctional buffer.It is used to multiplexed address/data bus.
Incrementer/Decrementer Address Latch-
A 16 bit register is used to increment or decrement the contents of program counter or stack pointer
Interrupt control-
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.
Serial I/O Control-
It transfers data bit by bit.it provides two lines are SOD and SID for serial communication.
Timing and control unit-
The control circuitry of the 8085 processor is responsible for all the operations. Along
with the control of fetching and loading operations and generation appropriate signals for
instruction exeution,control circuitry also generates signals required to interface external
device to the 8085 processor.
PIN DIAGRAM OF 8085
PIN DIAGRAM OF 8085-
 The signals of 8085 can be classified into seven groups according
to their functions-
1. Power supply and frequency signals
2. Data bus and Address bus
3. Control bus
4. Interrupt signals
5. Serial I/0 signals
6. DMA signals
7. Reset signals
Power supply and Frequency signals
Vcc
Vss
X1 and X2
Data bus and address bus
AD0 TO AD7
A8 TO A15
Control and status signals
ALE
RD and WR
IO/M
READY
Interrupt Signals
RST 7.5
RST 6.5
RST 5.5
TRAP
INTR
Serial I/0 Signals
SID (Serial input data)
SOD(Serial output data)
DMA Signals
HOLD
HLDA
Reset Signals
RESET IN
RESET OUT
 Power supply and Frequency Signals-
1. Vcc:It requires a single +5V power supply.
2. Vss:Ground reference.
3. X1 and X2:A crystal ocillator is connected at these two pins.
 Data bus and Address Bus-
1. AD0 to AD7:During the first part of the machine cycle(T1) lower 8 bit memory address or
I/O address appear on the bus. During the remaining part of the machine cycle (T2 and
T3) these lines are used as a bidirectional data bus.
2. A8 to A15:The upper half of the 16 bit address appears on the address line A8 to A15.
 Control and Status singals-
1. ALE: The latching of lower half of an address is down by using external latch and ALE
signal from 8085.
2. RD and WR:RD signal indicates that the selected or memory device is to be read and
data is available on the data bus.WR signal indicates that he data on data bus are to be
written into a selected memory or I/O location.
3. IO/M,S0 and S1:IO/M indicates whether IO operation or memory operation is being
carried out.S1 and S0 indicates the type of machine cycle in progress.
4. READY:It is used by the microprocessor to sense whether a peripheral device is ready for
 Interrupt Signals-
The 8085 has five hardware interrupt signal RST 5.5,RST 6.5,RST 7.5,TRAP and INTR.
 Serial I/O signals-
1. SID(Serial Input Data): This input signal is used to accept serial data bit by bit form the
external device.
2. SOD(Serial Output Data): This is an output signal which enables the transmission of data
serially bit by bit to an external device.
 DMA signals-
1. HOLD: This signal indicates that another master is requesting for the use of address bus, data
bus and control bus.
2. HLDA: This active high signal is used to acknowledge HOLD request.
 Reset signals-
1. RESET IN:a).Sets the program counter to zero (000H).
b).resets the interrupt enable and HLDA flip flops.
c).Tristate the data bus, address bus and control bus.
2. RESET OUT: This active high signal indicates that processor is being reset.
ADDRESSING MODES
OF THE 8085
Immediate addressing mode-
In this type of addressing mode data is specified as a part of instruction.e.g.
MVI B,20H : moves 8 bit immediate data (20 H)into register B.
Register addressing mode-
In this addressing mode, the operand is located in one of the registers.e.g.
ADD AX,BX : content of register BX is added to contents of AX(accumulator) an the result is
retained in register AX. AX AX+BX.
Direct addressing mode-
The direct addressing modes specify 16 bit address of the operand within the instruction itself.e.g
LDA 2400H :Loads the 8 bit contents of memory location 2000h into the accumulator.
Indirect addressing mode-
In indirect addressing mode, the memory address where two operands are located is specified by
the contents of a register pair.e.g.
LDAX B :Load the accumulator into the contents of memory location pointed by BC pair.
Implied addressing mode-
In implied addressing mode, opcode specifies the address of the operand.e.g.
CMA :Complement the contents of accumulator.

More Related Content

What's hot (20)

8251 USART
8251 USART8251 USART
8251 USART
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
MICROCONTROLLER 8051
MICROCONTROLLER 8051MICROCONTROLLER 8051
MICROCONTROLLER 8051
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
Arithmetic and logical instructions
Arithmetic and logical instructionsArithmetic and logical instructions
Arithmetic and logical instructions
 

Viewers also liked

radio-wave-propagation
radio-wave-propagationradio-wave-propagation
radio-wave-propagationATTO RATHORE
 
Satellite communication lecture8
Satellite communication lecture8Satellite communication lecture8
Satellite communication lecture8sandip das
 
Satellite communication lecture9
Satellite communication lecture9Satellite communication lecture9
Satellite communication lecture9sandip das
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011photomatt
 

Viewers also liked (6)

radio-wave-propagation
radio-wave-propagationradio-wave-propagation
radio-wave-propagation
 
Satellite communication lecture8
Satellite communication lecture8Satellite communication lecture8
Satellite communication lecture8
 
Satellite communication lecture9
Satellite communication lecture9Satellite communication lecture9
Satellite communication lecture9
 
wave propagationn
wave propagationnwave propagationn
wave propagationn
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to 8085-microprocessor

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
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Suchismita Paul
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorIama Marsian
 
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
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-pptsatyamshra
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessorShifali Sharma
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor Ardhendupanja
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptxISMT College
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architectureparsh33
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085ShivamSood22
 

Similar to 8085-microprocessor (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
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description 8085 microprocessor Architecture and pin description
8085 microprocessor Architecture and pin description
 
Unit 2 8085.pdf
Unit 2 8085.pdfUnit 2 8085.pdf
Unit 2 8085.pdf
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Ece 8085-microprocessor-ppt
Ece 8085-microprocessor-pptEce 8085-microprocessor-ppt
Ece 8085-microprocessor-ppt
 
Microprocessor 8085 Basics
Microprocessor 8085 BasicsMicroprocessor 8085 Basics
Microprocessor 8085 Basics
 
itft-8085 microprocessor
itft-8085 microprocessoritft-8085 microprocessor
itft-8085 microprocessor
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
8085 alp programs
8085 alp programs8085 alp programs
8085 alp programs
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 

More from ATTO RATHORE

8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
bharat-electronics-limited
bharat-electronics-limitedbharat-electronics-limited
bharat-electronics-limitedATTO RATHORE
 
bharat-electonics-limited
 bharat-electonics-limited bharat-electonics-limited
bharat-electonics-limitedATTO RATHORE
 
industrial-training-in-bharat-electronics-limited
 industrial-training-in-bharat-electronics-limited industrial-training-in-bharat-electronics-limited
industrial-training-in-bharat-electronics-limitedATTO RATHORE
 
bharat-electronics-limited-ppt
bharat-electronics-limited-pptbharat-electronics-limited-ppt
bharat-electronics-limited-pptATTO RATHORE
 
bharat-eectronics-limited-a-study-on-working-of-different-department
bharat-eectronics-limited-a-study-on-working-of-different-departmentbharat-eectronics-limited-a-study-on-working-of-different-department
bharat-eectronics-limited-a-study-on-working-of-different-departmentATTO RATHORE
 
basic electronics
 basic   electronics basic   electronics
basic electronicsATTO RATHORE
 
basic-analog-electronics
basic-analog-electronicsbasic-analog-electronics
basic-analog-electronicsATTO RATHORE
 
transmission-line-and-waveguide-ppt
transmission-line-and-waveguide-ppttransmission-line-and-waveguide-ppt
transmission-line-and-waveguide-pptATTO RATHORE
 

More from ATTO RATHORE (20)

microprocessor
 microprocessor microprocessor
microprocessor
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
microprocessor
   microprocessor   microprocessor
microprocessor
 
bel-ppt-pptx
bel-ppt-pptxbel-ppt-pptx
bel-ppt-pptx
 
bharat-electronics-limited
bharat-electronics-limitedbharat-electronics-limited
bharat-electronics-limited
 
bel-radar
bel-radarbel-radar
bel-radar
 
bharat-electonics-limited
 bharat-electonics-limited bharat-electonics-limited
bharat-electonics-limited
 
industrial-training-in-bharat-electronics-limited
 industrial-training-in-bharat-electronics-limited industrial-training-in-bharat-electronics-limited
industrial-training-in-bharat-electronics-limited
 
bharat-electronics-limited-ppt
bharat-electronics-limited-pptbharat-electronics-limited-ppt
bharat-electronics-limited-ppt
 
bharat-eectronics-limited-a-study-on-working-of-different-department
bharat-eectronics-limited-a-study-on-working-of-different-departmentbharat-eectronics-limited-a-study-on-working-of-different-department
bharat-eectronics-limited-a-study-on-working-of-different-department
 
basic electronics
basic    electronicsbasic    electronics
basic electronics
 
basic electronics
 basic   electronics basic   electronics
basic electronics
 
basic electronics
basic   electronicsbasic   electronics
basic electronics
 
basic electronics
basic  electronicsbasic  electronics
basic electronics
 
basic-analog-electronics
basic-analog-electronicsbasic-analog-electronics
basic-analog-electronics
 
basic electronics
basic electronicsbasic electronics
basic electronics
 
basic-electronics
basic-electronicsbasic-electronics
basic-electronics
 
basic-electronics
basic-electronicsbasic-electronics
basic-electronics
 
transmission-line-and-waveguide-ppt
transmission-line-and-waveguide-ppttransmission-line-and-waveguide-ppt
transmission-line-and-waveguide-ppt
 
waveguide-1
waveguide-1waveguide-1
waveguide-1
 

Recently uploaded

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...ppkakm
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessorAshwiniTodkar4
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257subhasishdas79
 

Recently uploaded (20)

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 

8085-microprocessor

  • 2. INTRODUCTION • 8085 microprocessor was introduced by Intel in the year 1976. • This microprocessor is an update of 8080 microprocessor. • The 8080 processor was updated with Enable/Disable instruction pins and Interrupt pins to form the 8085 microprocessor.
  • 3. Features of 8085 • It is an 8 bit microprocessor. • It has 16 bit address lines, hence it can access (216 ) 64 kB of memory. • It provides 8-bit I/O addresses to access(28 ) 256 I/O ports. • It has 8 bit accumulator, flag register, instruction register, six 8 bit general purpose register and two 16 bit register. • It provide five hardware interrupts : TRAP,RST 7.5,RST 6.5,RST 5.5 AND INTR.
  • 5.
  • 6. It consists of various functional blocks as listed below:- 1. Registers 2. Arithmetic and logic unit 3. Instruction decoder and machine cycle encoder. 4. Address buffer 5. Address/Data buffer 6. Increment/Decrement address latch 7. Interrupt control 8. Serial I/O control 9. Timing and control circuitry
  • 7. General Purpose Register Individual B C D E H L Combination B&C D&E H&L Temporary Register Temporary data register W and Z registers Special Purpose Register Accumulator Flag Register Instruction Register Sixteen Bit register Program Counter(PC) Stack Pointer(SP)
  • 8.  General purpose resistors- The 8 bit general purpose register B,C,D,E,H and l can be used a separate 8 bit register or as 16 bit register pair ,BC,DE and HL.When used in register pair mode,the higher byte resides in the first register and lower order byte resides in the second register.  Temporary register- 1. Temporary data register- The ALU has two inputs. One input is supplied by accumulator and other from temporary data register. The programmer can not access its temporary data register. 2. W and Z register- These registers are used to hold 8 bit data during execution of some instruction.  Special Purpose registers- 1. Register A (Accumulator)- It is extensively used in arithmetic, logic load and store operations, as well as in (I/O) operations. 2. Flag register- It is an 8 bit register in which five of the bits carry significant infromation in the form of flags S(sign flag),Z(zero flag),AC(Auxuliary Carry),P(parity flag) and CY(carry flag) as shown in fig.
  • 9. S Z AC P CY D7 D6 D5 D4 D3 D2 D1 D0 S-Sign flag-After the execution of arithmetic or logical operations, If bit D7 of the result is 1,the sign flag is set means negative. If d7 is o, the number will be considered as positive number. Z-Zero flag-The zero flag sets if the result of operation in ALU is zero and the flag resets if the result is non zero. AC-This flag is set if there is an overflow out of bit 3. P-Parity flag-If the result has even number of 1’s ,the parity flag is set.if the parity is odd,flag is reset. CY-Carry flag-This flag is set if there is an overflow out of bit 7. Instruction register-The CPU stores this opcode in a register called the instruction register.
  • 10.  Sixteen bit registers- 1. Program Counter(PC)- The program counter is a special type of register which at a given time, stores the address of the next instruction to be fetched. 2. Stack pointer(SP)- A 16 bit stack pointer in used to hold the address of the most recent stack entry .  Arithmetic and logic unit- Arithmetic and logic unit performs the arithmetic and logic operations on eight bit variables.  Instruction Decoder- The instruction decoder decodes the opcode stored in the instruction register and accordingly gives the timing and control signal which control the register,the data buffer,ALU.  Address Buffer- This is an 8 bit unidirectional buffer.It is used to drive external high order address bus(A15-A8).
  • 11. Address/Data Buffer- This is an 8 bit bidirctional buffer.It is used to multiplexed address/data bus. Incrementer/Decrementer Address Latch- A 16 bit register is used to increment or decrement the contents of program counter or stack pointer Interrupt control- 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. Serial I/O Control- It transfers data bit by bit.it provides two lines are SOD and SID for serial communication. Timing and control unit- The control circuitry of the 8085 processor is responsible for all the operations. Along with the control of fetching and loading operations and generation appropriate signals for instruction exeution,control circuitry also generates signals required to interface external device to the 8085 processor.
  • 14.  The signals of 8085 can be classified into seven groups according to their functions- 1. Power supply and frequency signals 2. Data bus and Address bus 3. Control bus 4. Interrupt signals 5. Serial I/0 signals 6. DMA signals 7. Reset signals
  • 15. Power supply and Frequency signals Vcc Vss X1 and X2 Data bus and address bus AD0 TO AD7 A8 TO A15 Control and status signals ALE RD and WR IO/M READY Interrupt Signals RST 7.5 RST 6.5 RST 5.5 TRAP INTR
  • 16. Serial I/0 Signals SID (Serial input data) SOD(Serial output data) DMA Signals HOLD HLDA Reset Signals RESET IN RESET OUT
  • 17.  Power supply and Frequency Signals- 1. Vcc:It requires a single +5V power supply. 2. Vss:Ground reference. 3. X1 and X2:A crystal ocillator is connected at these two pins.  Data bus and Address Bus- 1. AD0 to AD7:During the first part of the machine cycle(T1) lower 8 bit memory address or I/O address appear on the bus. During the remaining part of the machine cycle (T2 and T3) these lines are used as a bidirectional data bus. 2. A8 to A15:The upper half of the 16 bit address appears on the address line A8 to A15.  Control and Status singals- 1. ALE: The latching of lower half of an address is down by using external latch and ALE signal from 8085. 2. RD and WR:RD signal indicates that the selected or memory device is to be read and data is available on the data bus.WR signal indicates that he data on data bus are to be written into a selected memory or I/O location. 3. IO/M,S0 and S1:IO/M indicates whether IO operation or memory operation is being carried out.S1 and S0 indicates the type of machine cycle in progress. 4. READY:It is used by the microprocessor to sense whether a peripheral device is ready for
  • 18.  Interrupt Signals- The 8085 has five hardware interrupt signal RST 5.5,RST 6.5,RST 7.5,TRAP and INTR.  Serial I/O signals- 1. SID(Serial Input Data): This input signal is used to accept serial data bit by bit form the external device. 2. SOD(Serial Output Data): This is an output signal which enables the transmission of data serially bit by bit to an external device.  DMA signals- 1. HOLD: This signal indicates that another master is requesting for the use of address bus, data bus and control bus. 2. HLDA: This active high signal is used to acknowledge HOLD request.  Reset signals- 1. RESET IN:a).Sets the program counter to zero (000H). b).resets the interrupt enable and HLDA flip flops. c).Tristate the data bus, address bus and control bus. 2. RESET OUT: This active high signal indicates that processor is being reset.
  • 20. Immediate addressing mode- In this type of addressing mode data is specified as a part of instruction.e.g. MVI B,20H : moves 8 bit immediate data (20 H)into register B. Register addressing mode- In this addressing mode, the operand is located in one of the registers.e.g. ADD AX,BX : content of register BX is added to contents of AX(accumulator) an the result is retained in register AX. AX AX+BX. Direct addressing mode- The direct addressing modes specify 16 bit address of the operand within the instruction itself.e.g LDA 2400H :Loads the 8 bit contents of memory location 2000h into the accumulator. Indirect addressing mode- In indirect addressing mode, the memory address where two operands are located is specified by the contents of a register pair.e.g. LDAX B :Load the accumulator into the contents of memory location pointed by BC pair. Implied addressing mode- In implied addressing mode, opcode specifies the address of the operand.e.g. CMA :Complement the contents of accumulator.