fetch-decode-execute cycle Flashcards

(19 cards)

1
Q

what happens in the fetch part

A

instruction gets recieved from memory address in the RAM then RAM finds the instructions stored at the address, fetches it and passes it back to the CPU.

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

what happens in the decode part

A

the CPU breaks down the instructions into something it can understand. The CPU identifies the operation code (op-code).

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

what is the execute step

A

the instruction in the op code is carried out using the data that is fetched. this data can then be used by future instructions or be passed back to the main memory

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

how many time can the fetch-execute cycle be carried out

A

several thousand million times in one second

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

what are the 3 units that make von neumann achitectures

A

control unit, arithmetic logic unit, memory unit

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

apart from units what else makes something apart of the Von Neumann architecture

A

instructions and data share the same memory space
instructions are fetched, decoded and executed one at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
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
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does MAR stand for in computer architecture?

A

Memory Address Register

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

True or False: The MAR holds the data that is currently being processed.

A

False

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

What is the main function of the Memory Address Register (MAR)?

A

To hold the address of the memory location to be accessed.

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

Fill in the blank: The MDR stands for __________.

A

Memory Data Register

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

What is the role of the Memory Data Register (MDR)?

A

To hold the data that is being transferred to or from memory.

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

Which component performs arithmetic and logical operations?

A

Arithmetic Logic Unit (ALU)

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

Multiple Choice: Which of the following is NOT a function of the ALU? A) Addition B) Subtraction C) Memory Addressing D) Logical Comparisons

A

C) Memory Addressing

17
Q

What does the Program Counter (PC) do?

A

It holds the address of the next instruction to be executed.

18
Q

True or False: The PC is updated after each instruction is executed.

19
Q

What happens to the Program Counter (PC) after fetching an instruction?

A

It increments to point to the next instruction.