3.7.3.2 The Fetch-Execute Cycle and The Role Of Registers With It. Flashcards

1
Q

What is the Fetch-execute cycle?

A

A continuous cycle performed by the processor, consisting of three stages:
Fetch.
Decode.
Execute.

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

Outline Fetch.

A

The next instruction to execute is retrieved from main memory.

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

Outline step one of fetch.

A

The content of the PC is copied to the MAR.

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

Outline step two of fetch.

A

The content of the MAR is transferred to main memory by the address bus.

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

Outline step three of fetch.

A

The instruction is sent from main memory to the MBR by the data bus.

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

Outline step four of fetch.

A

The PC is incremented by one.

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

Outline step five of fetch.

A

The content of the MBR is copied to the CIR.

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

Fetch full instruction sequence:

A
  1. The content of the PC is copied to the MAR
  2. The content of the MAR is transferred to main memory by the address bus
  3. The instruction is sent from main memory to the MBR by the data bus
  4. The PC is incremented by one
  5. The content of the MBR is copied to the CIR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Outline decode.

A

The fetched instruction is decoded.

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

Outline step one of decode.

A

The content of the CIR is decoded by the control unit.

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

Outline step two of decode.

A

The decoded instruction is split into two parts: opcode

and operands.

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

Outline Execute.

A

The instruction is carried out.

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

Outline step one of execute.

A

Any data required by the instruction that isn’t present in registers is fetched.

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

Outline step two of execute.

A

The instruction is carried out.

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

Outline step three of execute.

A

Results of any calculations are stored in general purpose registers or main memory.

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

What occurs between each execute and fetch stage and why?

A

The content of the status register is checked for changes that could could signify the occurrence of an interrupt.