Chapter 21 Flashcards

1
Q

What are interrupts

A

Interrupts in reality are events that occur outside the processor and the processor must be informed about them. Interrupts are asynchronous and unpredictable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meaning of asynchronous for interrupts

A

Asynchronous means that the interrupts occur, independent of the working of the processor. It has nothing to do with processor state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are Synchronous events

A

Synchronous events are those that occur side by side with another activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 2 types of interrupts

A

Software interrupts and hardware interrupts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are hardware interrupts and hardware interrupts

A

Hardware interrupts happens outside processor and software interrupts happens inside processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What instruction is used to generate the interrupt

A

INT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the name of routine for INT instruction

A

interrupt service routine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are vectored interrupts

A

vectored interrupts meaning that the address of the interrupt routine is not directly mentioned in an interrupt call, rather the address is lookup up from a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is meaning of hooking an interrupt

A

mapping vector table is called hooking an interrupt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is interrupt vector table

A

The correlation process from the interrupt number to the interrupt handler uses a table called interrupt vector table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is vector

A

An entry in interrupt vector table is called vector.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What instruction is used when return from interruption

A

IRET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is at physical memory address zero

A

IVT (interrupt vector table)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the size of IVT

A

1 KB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is size of one vector

A

4 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly