Professional Documents
Culture Documents
MIC 04 - Case Study One 8085 MPU
MIC 04 - Case Study One 8085 MPU
Microprocessor Architecture
Lesson 04
Ch 2 & Ch3
6
Pin configuration of 8085
It includes-
◦ ALU
◦ Timing & Control Unit
◦ Instruction Register and Decoder
◦ Register Array
◦ Interrupt Control
◦ Serial I/O Control
Pin configuration of 8085
What is Interrupt?
Interrupt is a mechanism by which an I/O or an instruction
can suspend the normal execution of processor and get
itself serviced. Generally, a particular task is assigned to
that interrupt signal. In the microprocessor based system
the interrupts are used for data transfer between the
peripheral devices and the microprocessor.
17
Execution of Interrupts
➢ When there is an interrupt requests to the
Microprocessor then after accepting the interrupts
Microprocessor send the INTA (active low) signal to the
peripheral.
➢ The vectored address of particular interrupt is stored in
Program Counter PC.
➢ The processor executes an interrupt service routine
(ISR) addressed in program counter PC.
Example:
RST2: vector address =2*8 = 16
RST1: vector address =1*8 = 08
RST3: vector address =3*8 = 24
20
2. Hardware Interrupt
As we have already discussed that there are 5 interrupt pins
in the microprocessor used as Hardware Interrupts given
below:
1. TRAP
2. RST7.5
3. RST6.5
4. RST5.5
5. INTR
Note:
6. INTR
INTA is not an interrupt. INTA is used by the Microprocessor
for sending the acknowledgement. TRAP has highest priority and
RST7.5 has second highest priority and so on.
21
22
On receipt of an interrupt, the microprocessor
acknowledges the interrupt by the active low INTA
(Interrupt Acknowledge) signal.
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.
23
RESET IN’ : When the signal on this
pin goes low,
✓the program counter is set to
zero.
✓the buses are tri-sated.
✓MPU is reset.
34
Accumulator
Accumulator A is a 8-bit register which is used to perform
arithmetical and logical operation. It stores the output of
any operation. It also works as registers for i/o accesses.
Temporary Register
It is a 8-bit register which is used to hold the data on which
the accumulator is computing operation. It is also called as
operand register because it provides operands to ALU.
35
µPU Communication (Instruction-Cycle)