Chapter 4: Processor Fundamentals Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How are interrupts handled

A

 An interrupt flag is raised in the (interrupt) register

 At the end of the current FE cycle // at the start of the next FE cycle

 The system checks the interrupt register for higher priority interrupts
than current process

 If true, it stores the current contents of the registers on the stack

 The appropriate interrupt service routine (ISR) for the key press is
called

 The input data from the keyboard is processed

 The contents of the registers are restored from the stack

 … and control is passed back to previous process

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

What are the special registers

A

CIR

IX

MAR

MDR

PC

Sr

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

What does the CIR do

A

Stores the current instruction being decoded and executed

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

What does the MAR do

A

Stores the address of the memory location being read from or written to

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

What does the PC do

A

Stores the address where the next instruction to be read can be found

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

What does the MDR do

A

Stores data that has just been read from memory or which is about to be written to memory

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

What is the FE Cycle

A

MAR <— [PC]
PC <— [PC] +1
MDR <—[[MAR]]
CIR <—[MDR]

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