Professional Documents
Culture Documents
Micro Notes - Chapter 2
Micro Notes - Chapter 2
Micro Notes - Chapter 2
Interrupts
Interrupts are the signals generated by the
external devices to request the microprocessor to
perform a task.
Lecture 2-2_8085 Pin Configuration
8085 pin configuration and functions
Description of 8085 Pins 7 groups and functions
It is an 8-bit microprocessor designed by Intel in 1. Power supply and frequency signals
1977 using NMOS technology. 2. Data bus and address bus
Intel 8085 is fabricated as a 40-pin DIP IC 3. Control bus
stands for ‘dual inline package’ . 4. Interrupt signals
Intel manufactures 8085 in several versions, like 5. Serial I/O signals
8085 A, 8085 AH, 8085 AH-2, and 8085 AH -1. 6. DMA signals
7. Reset signals
Recommended internal clock frequencies
Example: INTR
3. Maskable Interrupts
In this type of interrupt, we can disable or DMA is a process of communication for
ignore the interrupt by writing some instructions data transfer between memory and I/O,
into the program. controlled by an external circuit called DMA
Example: RST 7.5, RST 6.5, RST 5.5 controller w/o the involvement of CPU.
4. Non-maskable Interrupt 8085 MP has two pins HOLD and HLDA
In this type of interrupt, we cannot disable or which are used for DMA Operation.
ignore the interrupt by writing some instructions
into the program. Operation:
Example: TRAP First, DMA Controller sends a request by
making Bus Request (BR) control line high. When
Priority on Interrupts MP receives high level signal to HOLD pin, it first
completes the execution of current machine cycle, it
TRAP takes few clocks and sends HLDA signal to the
Highest
RST 7.5 DMA Controller.
RST 6.5 Second, after receiving HLDA through Bus
RST 5.5 Grant (BG) pin of DMA Controller, the DMA
Lowest
INTR controller takes control over system bus and
transfers data directly between memory and I/O w/o
Execution of Interrupt involvement of CPU. During DMA operation, the
Two types of Interrupts according to Execution processor is free to perform next job w/c does not
o Software Interrupt need system bus.
An interrupt which is generated by software At the end of data transfer, the DMA controller
or instruction. terminates the request by sending low signal to
Examples: RST0, RST1, RST2, RST3, RST4, HOLD pin and MP regains control of system bus by
RST5, RST6, and RST7 making HLDA low.
o Hardware Interrupt
When microprocessors receive interrupt
signals through pins (hardware) of microprocessor.
Examples: TRAP, RST 7.5, RST 6.5, RST 5.5 and
INTA