Interrupts Flashcards

1
Q

Define an exeption

A

a synchronous event generated by the processor when a condition occurs

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

what are the conditions where an exeption is thrown

A

divide by 0
unkown instruction
ALU overflow
floating point maths error
memory access error

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

What is a timing interrupt

A

mechanism where a processor is interrupted at regular intervals
(i.e in round robin)

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

How does the computer handle break points

A

replaces the instruction with a software interrupt

original instruction saved by the debugger

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

define input device interrupt

A

transfer data to input buffer and if buffer is full disable interrupts

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

kernel call for input

A

if input buffer is not empty return data else deschecudle the program

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

output device interrupt

A

transfer data to the device if buffer empty disable interrupts

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

kernel call for output

A

transfer data to output buffer enable interrupts if output buffer full deschedule

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

errors

A

deschedule program

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