• Structure Of The Processor ( 2 ) Flashcards

1
Q

What are registers?

A

Special memory cells that operate at very high speed.

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

Where do the calculations of the ALU get stored?

A

Accumulator stores its data in a register called the accumulator.

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

Why are registers needed?

A
  • Main memory is too slow for working data to be stored

* Processor will be then able to immediately access and re use these results in further calculations.

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

What are the various dedicated registers?

A
  • Program Counter
  • Current Instruction Register
  • Memory address register
  • Memory data register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the program counter?

A

• Holds the memory address of the next instruction to be executed.

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

What is the purpose of the current instruction register?

A

• Holds the current instruction being executed
• Split into:
- Opcode
- Operand

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

What is the purpose of the memory address register?

A

• Holds the address of the memory location from which data is to be fetched, or to which data is to be written

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

What is the purpose of the memory data register?

A
  • Temporarily store the data read from or written to memory.

* Temporarily holds data moving between the processor and main memory.

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

What is the purpose of the accumulator?

A

• hold intermediate results of an instruction

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

What is the purpose of the processor?

A

• Carry out out instructions from programs stored in memory.

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

What are the steps of the fetch decode execute cycle?

A
  1. Address of the next construction is copied from the PC to the Memory Address Register ( MAR )
  2. Instruction held at that address is copied to the memory data register
  3. Simultaneously, the contents of the program counter ( PC ) are incremented
  4. Contents of the MDR are copied to the current instruction register ( CIR ).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the steps of the decode stage?

A
  1. Instruction is held in the CIR, it is decoded.
  2. Split into operand, and opcode to determine the type of instruction, additional data where required is fetched from memory.
  3. Passed to the accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the execute stage?

A
  • Appropriate instruction/opcode is carried out on the operand
  • Result held in accumulator or stored in memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the opcode?

A

Opcode is used to determine the type of instruction, and what hardware to use to execute it.

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

What is the operand?

A

Holds either:
• Address of the of the data to be used with the operation, which is copied to the MAR.
or
• Actual data to be operated on, which will be copied to the MDR
• The data to be operated on may be passed to the ALU/Accumulator.

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

What is the purpose of the data bus?

A

• Provides a bi directional path for moving data and instructions between system components.