structure and function of the processor Flashcards

1
Q

Explain how pipelining in a CPU could speed up the execution of this program.

A

– An instruction can be fetched as the
previous one is being decoded …
– … and the one before that is being
executed.

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

Explain the need for the following registers.

(i) Program Counter (PC)

[2]

(ii) Memory Address Register (MAR)

[2]

(iii) Memory Data Register (MDR)

A

(i)–Is needed to store the address of the next

instruction (to be processed)
–Value is then sent to the MAR
–After sending the value the PC is
incremented / changed to address held in
CIR if the operation is a Jump
(ii)– Contains the address of the instruction
(to be accessed in memory)…
– …address of instruction sent from PC
– Contains the address of the data (to be
accessed in memory)…
– …address of data sent from CIR
(iii)– Contains the instruction which has been
accessed from memory
– Contains the data which has been
accessed from memory
– That is referenced by the MAR /
Instruction sent to CIR
– acts as a buffer

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

One feature of Von Neumann architecture is that instructions are executed in a linear sequence.

(i) Give three other features.

A

Single control unit
One instruction at a time
Uses fetch execute cycle
Program & data stored together /
program & data in same format

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

One register holds the address of the next instruction to be processed.
Explain two reasons why the value held may change.

A

Program Counter increments…
…during f-e cycle
A jump instruction from the Current
Instruction Register / operand…
… program Counter changes to
address given

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

Describe two ways in which the accumulator is used.

A

Temporary storage

for data being processed / during
calculations
I/O in processor…
… used as a buffer / gateway

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