**Interrupts in 8085 microprocessor | Types of Interrupts in Computer Organization — Transcript & Summary | SozAI**
Source: https://sozai.app/transcript/8085-microprocessor-interrupts-computer-organization/

Gate Smashers explains interrupts in computer organization: what they are, hardware vs software interrupts, 8085 interrupt pins, priorities, vectored vs non-vectored, and maskable vs non-maskable.

## Key Takeaways

- An interrupt pauses the current process so an urgent event can be serviced via an ISR, then execution resumes.
- Interrupts originate from hardware (peripherals) or software (program instructions/system calls).
- On the 8085, TRAP is the highest-priority, non-maskable, non-vectored interrupt, while INTR is the lowest priority.
- Vectored vs non-vectored and maskable vs non-maskable are key distinctions for competitive and university exams.

## What the video covers

- Defines an interrupt as temporarily stopping a running process to handle another, more urgent request (hardware or software).
- Explains the interrupt handling flow: identify the cause, run the Interrupt Service Routine (ISR), then resume the interrupted process.
- Hardware interrupts are generated by peripheral devices, e.g. keyboard presses, mouse clicks, overheating triggering a fan, or the power button.
- On the 8085 microprocessor, hardware interrupt pins include TRAP, RST 7.5, RST 6.5, RST 5.5 and INTR.
- Software interrupts are generated by program instructions such as system calls (open, read, write, close) or RST 0-7 instructions.
- Software interrupts are said to have higher priority than hardware interrupts in the video's presentation.
- Among 8085 hardware interrupts, TRAP has the highest priority and INTR the lowest.
- Interrupt handling can use daisy chaining (serial) or parallel methods to resolve priority among multiple interrupts.
- Vectored interrupts jump to a fixed address for their ISR, while non-vectored interrupts do not have a fixed address; on the 8085, TRAP is described as non-vectored.
- Maskable interrupts can be ignored or disabled by the processor, while non-maskable interrupts cannot be ignored; TRAP is the non-maskable example given.

## Chapters

1. 00:00 Introduction and Purpose of the Video
2. 00:49 What Is an Interrupt?
3. 01:34 Interrupt Service Routine and Handling Flow
4. 02:14 Sources of Interrupts: Hardware vs Software
5. 03:00 Hardware Interrupts on the 8085 Microprocessor
6. 04:38 Software Interrupts and System Calls
7. 05:31 Interrupt Priority and Handling Methods
8. 06:53 Vectored vs Non-Vectored Interrupts
9. 07:47 Maskable vs Non-Maskable Interrupts

Answers

## Questions about this video

### What is an interrupt according to this video?

An interrupt is when a running process is paused so that another process, which may be hardware or software generated, can be handled. After the interrupt is serviced through its Interrupt Service Routine, the original process resumes.

### What is the difference between hardware and software interrupts?

Hardware interrupts are generated by peripheral devices such as keyboards, mice, or overheating sensors. Software interrupts are generated by program instructions, such as system calls for opening or reading files, or RST instructions.

### Which 8085 interrupt has the highest priority and is non-maskable?

TRAP has the highest priority among the 8085 hardware interrupts and is the non-maskable, non-vectored interrupt. The video notes that INTR has the lowest priority.

## Full Transcript — Download SRT & Markdown

00:00

Speaker A

(INTRO) Dear students, welcome to Quits measures In today's video I am going to explain What is interrupt and what are the various types of interrupt So see this topic is very simple But this topic is very important in your competitive exams

00:20

Speaker A

In college and university exams So I will explain it very easily with examples So guys like the video quickly and subscribe the channel If you haven't done it yet and if you have done it Then you can get it subscribed from other devices

00:34

Speaker A

Subscribers are very important So let's start what is the concept of interrupt So what is interrupt actually Just 5 minutes, I will complete the video in 5 minutes This is what the meaning of interrupt Means already one thing is going on

00:49

Speaker A

Already one process is going on But we are stopping that process in between We are going on some other process That is the meaning of interrupt So this is a simple definition Many definitions will be available The simple definition is that already you are running a process

01:05

Speaker A

By stopping it, you run some other process That is interrupt So that second process can be a hardware It can be a software So it needs some attention Kind of attention So to give it attention, we will stop the running process

01:22

Speaker A

So you can show it like this Means I have a process, I am already running it The processor is already running it While running what happened is that there was an interrupt As soon as the interrupt came, I went to interrupt

01:34

Speaker A

Went to interrupt, means to say Why was the interrupt occurred, from where it occurred And what I have to do with it now Obviously I have to fix it too Whatever problem it is So I have to fix it

01:47

Speaker A

So I will run its service routine Means what is the meaning of service routine That the program, means I have an interrupt occurred here So what I have to do is service routine I have to go to interrupt service routine

01:59

Speaker A

Whatever the program, whatever the interrupt What I will do with it I will handle it By handling it, I will come back to my work Means I will come back to that process And resume it This is the simple meaning of interrupt

02:14

Speaker A

So who generates interrupt We have two ways to generate interrupt Hardware and software Means hardware can also generate And we can also generate through software method So what does hardware mean If any hardware, means any peripheral device Is generating, then that is hardware

02:32

Speaker A

Like you pressed something on the keyboard So this is an example of hardware interrupt You moved it on the mouse, clicked it That is what the example of hardware interrupt is Let's say you have a system System is heated up

02:46

Speaker A

So what will it do when it is heated up It will turn on the fan That is what the example of hardware interrupt You are working on the laptop While working, let's say you or someone By mistake, the switch off, switch on button

03:00

Speaker A

The power off button Someone pressed it by mistake So what happened in that case too Interrupted So all these are examples of hardware interrupts And if we see it a little bit technically So let's say if I Give example of 8085 microprocessor

03:16

Speaker A

Because it is the most popular If we talk about in our B Tech So if we talk about 8085 So we get different pins in it Like we get There is a trap RST 7.5 comes RST 6.5 comes

03:33

Speaker A

RST 5.5 comes Apart from this, INTR So what are all these pins On top of that, the 40 pin architecture So on top of the 40 pin architecture We have some pins TRAP, RST 7.5, 6.5, 5.5 INTR What are all these pins

03:52

Speaker A

On top of it So whenever anything comes on top of these pins When anything comes on top of these pins So what is it in a way This is an example of hardware interrupt So anyone is generated by hardware

04:04

Speaker A

That is the simple meaning of hardware interrupt Then comes software interrupt So what does software interrupt mean That you are generating an interrupt through a software Rather than hardware Like a simple example You wrote a program Let's say main

04:21

Speaker A

And inside that There are many lines You wrote a line in between Open and file Means what you did You wrote in between To open a particular file to open a file You have to go to that file

04:38

Speaker A

And where are the files by default They are in secondary memory So your processor is executing your work one by one So what will happen in this case We will tell the process Who will get control It will go to input output device

04:53

Speaker A

Means you have to go in between the running process On secondary memory There that particular file Will have to be accessed Because you have to open And let's say there is a close, read, write All that work is in a way

05:07

Speaker A

If I am writing system calls Then all that is an example of software interrupts And if we talk technically Let's say 8085 Then all this is there But normally if we talk Then we have RST From 0 to RST7

05:23

Speaker A

What are they Software interrupts So if you are using this directly Otherwise sometimes we can write instructions in the program In which if we write their hexadecimal code If we write their hexadecimal code Then what will happen Then there will be an interrupt

05:40

Speaker A

That will be a software interrupt So this is hardware, this is software Write the second point in your notes That software interrupt is having the higher priority Than the hardware So there is more priority than hardware And if we talk about software interrupt

05:54

Speaker A

Like I have written here 8085 Then trap has the highest priority Then 7.5 Then 6.5, then 5.5 And the lowest priority is INTR, so trap has the highest priority Because at one time If it will handle one interrupt

06:11

Speaker A

Then who has to do it first So that is based on its priority And to handle this also There are two methods, daisy chaining method And one is for parallel interrupt Means if you want to handle parallel Or through daisy chaining, serial chaining

06:25

Speaker A

I have already made a video on that And its link will be in the suggested video In the description box So sometimes questions come on that too Then vector interrupt What is the meaning of vector interrupt Let's say we have

06:39

Speaker A

To go to a particular address I said that we are already doing some work Interrupt happened in between, so I will handle that interrupt So what is the meaning of handling this interrupt Processor will go to a particular address

06:53

Speaker A

Run the program, what is this to do So what is the meaning of vector The simple meaning of vector That you have put a program On a fixed address As soon as the interrupt happened You go to that address and there

07:06

Speaker A

Execute whatever instruction is written And non-vectored means That you have no fixed Address You will go to a particular location not like a fixed location And execute there Vector has fixed address Non-vectored address is not fixed So like your RST

07:25

Speaker A

7.5, 6.5, 5.5, INTR All of these Are in a way vector interrupt But trap is Non-vectored interrupt So these small points you should know Then maskable And non-maskable, this actually comes That when the interrupt Happened, so obviously we want

07:45

Speaker A

First of all, the processor leaves all the work And handle that interrupt But what is the difference between maskable and non-maskable Maskable means Which the processor can't ignore And non-maskable means Which we can ignore a little Interrupt is there, I will see later

08:01

Speaker A

I am already doing a good work A good priority work, so I will see the interrupt later Like let's say You are living in a building, there is a fire So obviously what will happen in that case In that case you want this thing

08:13

Speaker A

Not to be ignored, quickly Some remedy or solution is found there So that is your one way Maskable interrupt Like trap is your maskable interrupt Means system got heat up As soon as the heat up happens, you want the fan to run

08:27

Speaker A

So that it doesn't happen Okay, no problem, I will see After a while, no, it shouldn't happen So maskable means On which we can do We can put a mask, what can we put in a way We put a mask, means we hide it

08:41

Speaker A

And non-maskable means On which we can't put a mask, means we can't hide it Or we can't ignore it Write this point So what can we do with maskable We can ignore it in a way And we can't ignore non-maskable

08:54

Speaker A

trap comes in non-maskable Means we can't ignore it This one comes in a way Maskable interrupt Means you can do it in a simple way That high priority interrupt High priority, by default Will be non-maskable, means we can't ignore it

09:11

Speaker A

Low priority interrupt That can be a maskable So these small points for one marks, in your competitive exams In interviews, you can ask Or in your college university exams can be asked So this is your interrupt In this way, you won't get anything outside

09:28

Speaker A

After this, your daisy chaining Parallel Complete that method also So that your interrupt portion is completed Thank you.

Topics: interrupt computer organization 8085 microprocessor hardware interrupt software interrupt maskable interrupt vectored interrupt interrupt priority ISR TRAP RST 7.5

Study this video

- [Flashcards from this video](https://sozai.app/tools/flashcard-maker/#from=transcript&id=101713)
- [Quiz on this video](https://sozai.app/tools/quiz-generator/#from=transcript&id=101713)
- [Crossword from this video](https://sozai.app/tools/crossword-maker/#from=transcript&id=101713)
- [Word search from this video](https://sozai.app/tools/word-search-maker/#from=transcript&id=101713)
- [Study guide from this video](https://sozai.app/tools/study-guide-maker/#from=transcript&id=101713)

Free, made by AI from this transcript. No signup.


---
This is the markdown twin of https://sozai.app/transcript/8085-microprocessor-interrupts-computer-organization/ — the same content, without the markup.
Published by SozAI (https://sozai.app). Reuse and quotation are allowed with attribution and a link back.
Machine-readable index: https://sozai.app/llms.txt · data API: https://sozai.app/api/
