1.1.1 - CPU, ALU, Registers, Buses, FDE Cycle Flashcards

1
Q

CPU - What is it?

A

The Central Processing Unit is a processor that has a number of components which enable it to execute instructions.

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

CPU - What are it’s components?

A
  • Control Unit
  • Buses
  • ALU (Arithmetic Logic Unit)
  • Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Control Unit - What is it and What does it do?

A

A component on the CPU that controls and coordinates activity of the CPU. Directs the flow of data between the CPU and other devices.

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

Control Unit - Process

A
  • Accepts next instructions
  • Decodes it into separate steps
  • Manages it’s execution
  • Stores the result in memory or registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Buses - What are they?

A

A set of parallel wires connecting two or more components of a computer. They are essentially paths that allow data to flow across.

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

Buses - Process

A

The processor is connected to the main memory by three separate buses. When the CPU wants to access a main memory location it sends the address to the address bus. The data in that location is returned to the CPU on the data bus. Control signals are sent along the control bus.

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

Buses - Control Bus | What is it used for?

A

Used to transmit a command, timing and status info between components. Data can flow along the control bus both ways. Control lines are provided to stop conflict.

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

Buses - Data Bus | What is it used for?

A

Used for moving data and instructions between components. Data can flow both ways along the data bus.

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

Buses - Address Bus | What is it used for?

A

Used to store memory addresses from which data will be fetched or sent and stored

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

Buses - Address Bus | What are words and what do they do?

A

Memory is divided into units called words. A word is a fixed size group of digits. Each word in memory has it’s own address and the address bus transmits the memory addresses of words that are used as operands in program instructions.

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

ALU - What does it do?

A

The arithmetic logic unit performs logical operations on the data such as ADD, SUBTRACT, MULTIPLE or DIVIDE. It can also perform shift operations which is shifting bits to the left or right within a register and can carry out Boolean logic operations comparing two vales using operations such as AND, OR, NOT

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

Registers - What are they?

A

Special memory cells that operate at high speed

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

Registers - What are stored in them?

A

Results of all arithmetic, logical or shift operations are temporarily stored in registers

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

Registers - Accumulator | What is it and what does it store?

A

A simple register that stores all the results from operations.

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

Registers - What are some examples of special purpose registers?

A
  • Program Counter (PC)
  • Current Instruction Register (CIR)
  • Memory Address Register (MAR)
  • Memory Data Register (MDR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Registers - Program Counter | What does it do?

A

Holds the address of the next instruction to be executed

17
Q

Registers - CIR | What does it do?

A

Holds the current instruction being executed in the format of operand and opcode

18
Q

Registers - MAR | What does it do?

A

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

19
Q

Registers - MDR | What does it do?

A

Temporarily holds the data read from or written to memory. AKA Memory Buffer Register

20
Q

Fetch Decode Execute Cycle - What is it?

A

A sequence of operations involved in executing an instruction

21
Q

FDE Cycle - What are the steps of the fetch phase?

A
  1. The address of the next instruction is copied from the PC to the MAR
  2. The instructions held at that address is copied to the MDR and the PC is incremented by 1 and gets a new address
  3. The contents of the MDR are copied to the CIR
22
Q

FDE Cycle - What are the steps of the decode phase?

A
  1. The instruction held in the CIR is decoded then the instruction is split into opcode and operand and the opcode is used to determine the type of instruction and what hardware is used to execute it.
23
Q

FDE Cycle - What are the steps of the execute phase?

A
  1. The appropriate instruction/opcode is carried out on the operand
24
Q

Opcode - What is it?

A

Operation code is an instruction that can be executed by the CPU

25
Q

Operand - What is it?

A

The operand specifies the location/data that needs to be acted on