CPU Registers Flashcards

(15 cards)

1
Q

What does the program counter store?

A

It stores the memory address of the next instruction

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

What does the Status Register store?

A

It holds info about the state of the processor

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

What does the address register store?

A

It holds the address of the memory location to be read or written to

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

What does the stack pointer store?

A

The address of the most recent value pushed onto the stack

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

What does the accumulator store?

A

The result of the most recent arithmetic or logical operation

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

What is the first step in the fetch execute cycle?

A

PC is incremented

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

What is the second step in the fetch execute cycle?

A

PC is copied to MAR

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

What is the third step in the fetch execute cycle?

A

Data in location specified by MAR copied to MDR (the MBR)

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

What is the fourth step in the fetch execute cycle?

A

The instruction register gets data from MDR and splits into opcode and operand

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

What is the fith step in the fetch execute cycle?

A

Operand is processed with opcode

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

How does the control unit decode the opcode?

A

It turns the code into very primitive actions

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

What is a process?

A

A running program such as the OS

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

What is a context switch?

A

How the CPU switches the program that it is executing on a core level.

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

Why are threads referred to as light weight?

A

As they allow the CPU to change what it is executing without exiting the current process, which is very slow.

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

What are processes referred to as?

A

Heavy weight as a lot needs to happen for them to be changed.

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