SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Brojen Talukdar
Email-Brojentalukdar777@gmail.com
Intel 8085
33
44
Signals and I/O Pins
55
 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.
 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.
8
 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.
 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.
 We will discuss the rest of the control signals as we get to them.
 Now, let’s look at some of its features with
more details.
 In addition to the arithmetic & logic circuits, the ALU
includes an accumulator, which is a part of every
arithmetic & logic operation.
 Also, the ALU includes a temporary register used for
holding data temporarily during the execution of the
operation. This temporary register is not accessible by
the programmer.
 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.
 Now, Let us see how the different units and
bus systems stay connected:
A15-A8
LatchAD7-AD0
D7- D0
A7- A0
8085
ALE
IO/MRDWR
1K Byte
Memory
Chip
WRRD
CS
A9- A0
A15- A10
Chip Selection
Circuit
 This group consists of 2 Control signals(RD
and WR (active low))
 3 Status signal(IO/M(active Low),S1 and S0)
 1 Special signal(ALE)-Address Latch Enable.
 INTR(Input): (INTerrupt Request)-This is used as a general- purpose interrupt.
 INTA(output)(Active Low) : (Interrupt Acknowledge)- This is used to acknowledge an
interrupt
 RST 7.5,RST 6.5, RST 5.5: Restart interrupts- This are vectored interrupts that transfer the
program control to specific memory locations. This are having higher priority than INTR
 Trap(input): This is non maskable interrupt
 Hold(input): This signal indicated the peripherals such as DMA(Direct memory access)
Controller is requesting the use of DATA and ADDRESS buses
 HLDA(OUTPUT): Hold Acknowledge- This signal acknowledges the HOLD request
 Ready(Input): This signal Synchronizes the fast CPU and the
slow memory, peripherals
 RESET INPUT: when this signal goes low, the program
counter(PC) is set to zero, Microprocessor is reset
 RESET OUT: This signal indicates that μp is being reset. This
signal can be used to reset other devices. The signal is
synchronized to the processor clock and lasts an integral
number of clock periods
 Serial Communication pins:
 SID(Serial Input Data)
 SOD(Serial Output Data)
 This 2 signals used to implement the serial transmission, bits are sent over
single line, one bit by at a time
 MPU performs basic four operations
 Memory read: Reads the data(or instruction) from
the memory
 Memory write: write the data(or instruction) into
memory
 I/O Read: Accepts data from input devices
 I/O write: sends data to the output devices
 Step 1: Identify the peripheral or the memory
location
 Step 2: Transfer binary information(data or
information)
 Step 3: Provide timing or synchronization
signals
 8085 performs the following step or functions
using 3 sets of communication line which are
called as buses(Address, Data and Control
buses)
 The 8085 executes several types of instructions
with each requiring a different number of
operations of different types. However, the
operations can be grouped into a small set.
 The three main types are:
 Memory Read and Write.
 I/O Read and Write.
 Request Acknowledge.
 These can be further divided into various
smaller operations (machine cycles).
 The first step of executing any instruction is the Opcode fetch
cycle.
 In this cycle, the microprocessor brings in the instruction’s
Opcode from memory.
 To differentiate this machine cycle from the very
similar “memory read” cycle, the control & status
signals are set as follows:
 IO/M=0, s0 and s1 are both 1.
 This machine cycle has four T-states.
 The 8085 uses the first 3 T-states to fetch the opcode.
 T4 is used to decode and execute it.
 It is also possible for an instruction to have 6 T-states in an
opcode fetch machine cycle.
 The memory read machine cycle is exactly the
same as the opcode fetch except:
 It only has 3 T-states
 The s0 signal is set to 0 instead.
 To understand the memory read machine cycle, let’s
study the execution of the following instruction:
 MVI A, 32
 In memory, this instruction looks like:
 The first byte 3EH represents the opcode for
loading a byte into the accumulator (MVI A), the
second byte is the data to be loaded.
 The 8085 needs to read these two bytes from memory
before it can execute the instruction. Therefore, it will
need at least two machine cycles.
 The first machine cycle is the opcode fetch
discussed earlier.
 The second machine cycle is the Memory Read
Cycle.
2000H
2001H
3E
32
 Machine cycles and instruction length, do not have a direct
relationship.
 To illustrate, let’s look at the machine cycles needed to
execute the following instruction.
 STA 2065H
 This is a 3-byte instruction requiring 4 machine
cycles and 13 T-states.
 The machine code will be stored
in memory as shown to the right
 This instruction requires the following 4 machine cycles:
 A ‘Opcode fetch’ to fetch the opcode (32H) from location 2010H, ‘decode’ it
and determine that 2 more bytes are needed (4 T-states).
 A ‘Memory read’ to read the low order byte of the address (65H) (3 T-states).
 A ‘Memory read’ to read the high order byte of the address (20H) (3 T-
states).
 A ‘memory write’ to write the contents of the accumulator into the memory
location.
2010H
2011H
2012H
32H
65H
20H
 In a memory write operation:
 The 8085 places the address (2065H) on the address
bus
 Identifies the operation as a ‘memory write’
(IO/M=0, s1=0, s0=1).
 Places the contents of the accumulator on the data
bus and asserts the signal WR.
 During the last T-state, the contents of the data bus
are saved into the memory location.

Weitere ähnliche Inhalte

Was ist angesagt?

8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor pptRJ Aniket
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Neelam Kapoor
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakAkshay Makadiya
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorAnuja Gunale
 
Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Rishikesh Bhavsar
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 808582338476
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareProf. Swapnil V. Kaware
 
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
 
1.microprocessor
1.microprocessor1.microprocessor
1.microprocessorraja p
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor Ardhendupanja
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorRamaPrabha24
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085muneer.k
 

Was ist angesagt? (20)

8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Introduction to 8085svv
Introduction to 8085svvIntroduction to 8085svv
Introduction to 8085svv
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymak
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3Microprocessor 8085 Chapter 3
Microprocessor 8085 Chapter 3
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
1.microprocessor
1.microprocessor1.microprocessor
1.microprocessor
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
8085 microprocessor notes
8085 microprocessor notes8085 microprocessor notes
8085 microprocessor notes
 
Mp 8085
Mp 8085Mp 8085
Mp 8085
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 

Ähnlich wie Micro

8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturedeval patel
 
Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfLatif Khan
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...NaWinNK
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Ameen San
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontrollerRavinder Singla
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdfChandraSekhar167698
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING Radhika Talaviya
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notespavihari
 

Ähnlich wie Micro (20)

8085 intro
8085 intro8085 intro
8085 intro
 
8085.ppt
8085.ppt8085.ppt
8085.ppt
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdf
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
 
8085
80858085
8085
 
8085
80858085
8085
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
 
MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING MICROPROCESSOR AND INTERFACING
MICROPROCESSOR AND INTERFACING
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
EE6502 Microprocessor and Microcontroller
EE6502   Microprocessor and MicrocontrollerEE6502   Microprocessor and Microcontroller
EE6502 Microprocessor and Microcontroller
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
Mpmc unit 1 notes
Mpmc unit 1 notesMpmc unit 1 notes
Mpmc unit 1 notes
 

Kürzlich hochgeladen

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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(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
 
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
 
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
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
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 for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
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
 
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
 
(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
 
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
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
(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
 

Kürzlich hochgeladen (20)

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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(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...
 
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
 
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...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
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 for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
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
 
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
 
(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...
 
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...
 
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
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
(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...
 
(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
 

Micro

  • 3. 33
  • 5. 55
  • 6.  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.  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.
  • 8. 8
  • 9.  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.
  • 10.  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.  We will discuss the rest of the control signals as we get to them.
  • 11.  Now, let’s look at some of its features with more details.
  • 12.  In addition to the arithmetic & logic circuits, the ALU includes an accumulator, which is a part of every arithmetic & logic operation.  Also, the ALU includes a temporary register used for holding data temporarily during the execution of the operation. This temporary register is not accessible by the programmer.
  • 13.  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.
  • 14.  Now, Let us see how the different units and bus systems stay connected: A15-A8 LatchAD7-AD0 D7- D0 A7- A0 8085 ALE IO/MRDWR 1K Byte Memory Chip WRRD CS A9- A0 A15- A10 Chip Selection Circuit
  • 15.  This group consists of 2 Control signals(RD and WR (active low))  3 Status signal(IO/M(active Low),S1 and S0)  1 Special signal(ALE)-Address Latch Enable.
  • 16.
  • 17.  INTR(Input): (INTerrupt Request)-This is used as a general- purpose interrupt.  INTA(output)(Active Low) : (Interrupt Acknowledge)- This is used to acknowledge an interrupt  RST 7.5,RST 6.5, RST 5.5: Restart interrupts- This are vectored interrupts that transfer the program control to specific memory locations. This are having higher priority than INTR  Trap(input): This is non maskable interrupt  Hold(input): This signal indicated the peripherals such as DMA(Direct memory access) Controller is requesting the use of DATA and ADDRESS buses  HLDA(OUTPUT): Hold Acknowledge- This signal acknowledges the HOLD request
  • 18.  Ready(Input): This signal Synchronizes the fast CPU and the slow memory, peripherals  RESET INPUT: when this signal goes low, the program counter(PC) is set to zero, Microprocessor is reset  RESET OUT: This signal indicates that μp is being reset. This signal can be used to reset other devices. The signal is synchronized to the processor clock and lasts an integral number of clock periods  Serial Communication pins:  SID(Serial Input Data)  SOD(Serial Output Data)  This 2 signals used to implement the serial transmission, bits are sent over single line, one bit by at a time
  • 19.  MPU performs basic four operations  Memory read: Reads the data(or instruction) from the memory  Memory write: write the data(or instruction) into memory  I/O Read: Accepts data from input devices  I/O write: sends data to the output devices
  • 20.
  • 21.  Step 1: Identify the peripheral or the memory location  Step 2: Transfer binary information(data or information)  Step 3: Provide timing or synchronization signals  8085 performs the following step or functions using 3 sets of communication line which are called as buses(Address, Data and Control buses)
  • 22.
  • 23.  The 8085 executes several types of instructions with each requiring a different number of operations of different types. However, the operations can be grouped into a small set.  The three main types are:  Memory Read and Write.  I/O Read and Write.  Request Acknowledge.  These can be further divided into various smaller operations (machine cycles).
  • 24.  The first step of executing any instruction is the Opcode fetch cycle.  In this cycle, the microprocessor brings in the instruction’s Opcode from memory.  To differentiate this machine cycle from the very similar “memory read” cycle, the control & status signals are set as follows:  IO/M=0, s0 and s1 are both 1.  This machine cycle has four T-states.  The 8085 uses the first 3 T-states to fetch the opcode.  T4 is used to decode and execute it.  It is also possible for an instruction to have 6 T-states in an opcode fetch machine cycle.
  • 25.  The memory read machine cycle is exactly the same as the opcode fetch except:  It only has 3 T-states  The s0 signal is set to 0 instead.
  • 26.  To understand the memory read machine cycle, let’s study the execution of the following instruction:  MVI A, 32  In memory, this instruction looks like:  The first byte 3EH represents the opcode for loading a byte into the accumulator (MVI A), the second byte is the data to be loaded.  The 8085 needs to read these two bytes from memory before it can execute the instruction. Therefore, it will need at least two machine cycles.  The first machine cycle is the opcode fetch discussed earlier.  The second machine cycle is the Memory Read Cycle. 2000H 2001H 3E 32
  • 27.  Machine cycles and instruction length, do not have a direct relationship.  To illustrate, let’s look at the machine cycles needed to execute the following instruction.  STA 2065H  This is a 3-byte instruction requiring 4 machine cycles and 13 T-states.  The machine code will be stored in memory as shown to the right  This instruction requires the following 4 machine cycles:  A ‘Opcode fetch’ to fetch the opcode (32H) from location 2010H, ‘decode’ it and determine that 2 more bytes are needed (4 T-states).  A ‘Memory read’ to read the low order byte of the address (65H) (3 T-states).  A ‘Memory read’ to read the high order byte of the address (20H) (3 T- states).  A ‘memory write’ to write the contents of the accumulator into the memory location. 2010H 2011H 2012H 32H 65H 20H
  • 28.  In a memory write operation:  The 8085 places the address (2065H) on the address bus  Identifies the operation as a ‘memory write’ (IO/M=0, s1=0, s0=1).  Places the contents of the accumulator on the data bus and asserts the signal WR.  During the last T-state, the contents of the data bus are saved into the memory location.