Fetch Execute Flashcards

1
Q

What is the function of the PC in the processor schematic?

A

The PC (Program Counter) holds the address of the next instruction to be fetched.

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

What does MAR stand for and what is its role?

A

MAR stands for Memory Address Register; it holds the address of the memory location to be accessed.

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

What is the purpose of the MBR?

A

MBR stands for Memory Buffer Register; it holds 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
4
Q

Define the term CIR in the context of a processor.

A

CIR stands for Current Instruction Register; it holds the instruction currently being decoded.

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

What happens during the fetch stage of instruction execution?

A

The contents of the PC are transferred to the MAR, and then the address in MAR is accessed to retrieve data.

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

Fill in the blank: The instruction set is a set of ______ for the processor.

A

machine language commands

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

What are the two main parts of an instruction?

A

The opcode and the operand.

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

What does the opcode determine?

A

The operation that is to be carried out (e.g., ADD, LOAD).

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

Explain the difference between immediate addressing mode and direct addressing mode.

A

Immediate addressing mode uses the actual data value in the operand, while direct addressing mode specifies the address of the data in memory.

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

What is the role of the control unit during the decode stage?

A

The control unit decodes the instruction held by the CIR into opcode and operand.

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

True or False: The opcode is split into two parts: the basic machine operation and the operand.

A

False. The opcode is split into the basic machine operation and the addressing mode.

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

List the common set of operations all processor architectures have.

A
  • Data transfer between internal components
  • Arithmetic operations
  • Logical operations
  • Shift operations
  • Branching
  • Comparison
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is stored in the accumulator register after executing an instruction?

A

The result of the executed instruction.

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

What does the status register do?

A

It is updated to reflect the result of the executed instruction.

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

Fill in the blank: The opcode consists of the basic machine operation and the ______.

A

addressing mode

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

What are the two stages of the fetch operation?

A
  • MAR <- [PC]
  • MBR < [Memory]MAR_address
17
Q

What happens to the PC after fetching the instruction?

A

The PC is incremented by one to prepare for the next cycle.