SLR1-1.1: Fetch- Decode - Execute Cycle Flashcards

(15 cards)

1
Q

What is a computer?

A

An electronic device that takes input, processes data and delivers an output

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

What is a program?

A

A set of instructions that a computer follows

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

What does the Program Counter (PC) do during the fetch stage?

A

• Holds the address of the next instruction
• Sends this address to the MAR

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

What does the Memory Address Register (MAR) do during the fetch stage?

A

• Receives the address from the PC
• Sends the address to memory via the Address Bus

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

What does the Memory Data Register (MDR) do during the fetch stage?

A

• Receives the instruction from memory via the Data Bus
• Sends the instruction to the CIR

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

What does the Current Instruction Register (CIR) do after fetch?

A

• Stores the fetched instruction
• Splits it into opcode and operand

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

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

A

• It is incremented to point to the next instruction
• If it’s a jump instruction, it’s updated with the operand from CIR

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

What does the CIR do during the decode stage?

A

• Decodes the instruction into opcode and operand

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

What happens if the instruction is a jump?

A

• The operand from the CIR is copied to the PC
• This changes the flow of the program

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

What happens during arithmetic or logic operations in the execute stage?

A

• ALU performs the operation
• ACC is used to store the result

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

What happens when reading data from memory?

A

• MAR holds the address
• MDR gets the data
• ACC stores the data

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

What happens when writing data to memory?

A

• ACC sends data to MDR
• MAR holds the address
• Data is written from MDR to memory

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

What role does the Address Bus play in the FDE cycle?

A

• Transfers addresses from MAR to memory

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

What role does the Data Bus play in the FDE cycle?

A

• Transfers data between memory and MDR

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

What role does the Control Bus play in the FDE cycle?

A

• Sends control signals from the Control Unit to coordinate operations

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