1.1.1 STRUCTURE AND FUNCTION OF THE PROCESSOR Flashcards

1
Q

Program Counter (PC)

A

Holds the address of the next instruction to be executed

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

Accumulator (ACC)

A

Stores the results from calculations

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

Memory Address Register (MAR)

A

Holds the address of a location that is to be read from or written to

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

Memory Data Register (MDR)

A

Temporarily stores data that has been read or data that needs to be written

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

Arithmetic Logic Unit (ALU)

A

Completes the arithmetical and logical operations

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

Control Unit (CU)

A

Directs operations inside the CPU.
It:
.Controls and coordinates the activities of the CPU
.Manage the flow of data between the CPU and other devices
.Accepting the next instruction
.Decoding instructions
.Stores the result back in memory

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

What are registers

A

Small memory cells that operate at very high speeds. Used to temporarily store data. All arithmetic, logical or shift operations occur in these registers.

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

Buses

A

A set of parallel wires which connect two or more components inside the CPU together. The collection of the data bus, control bus, and address bus is called the system bus. The width of the bus is the bumper of parallel wires the bus has.

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

Data bus

A

A bi-directional bus used for transporting data and instructions between components.

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

Address bus

A

Used to transmit the memory addresses specifying where data is to be sent to or retrieved from. Adding a wire to the address bus doubles the number of addressable locations

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

Control bus

A

This is a bi-directional bus used to transmit control signals between internal and external components.

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

Clock speed

A

Determined by the system clock. All processor activities begin on a clock pulse. Each CPU operation starts as the clock changed from 0 to 1. The clock speed is the number of clock cycles completes in a second.

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

Number of Cores

A

A core is an independent processor that is able to execute its own fetch-execute cycle. A computer with multiple cores can complete more than one fetch-execute cycle at any given time. Some programs aren’t optimized for the use of more than one core.

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

Cache memory

A

The CPU’s onboard memory. Instructions fetched from main memory are copied to the cache, so if required again it can be accessed quicker. As cache fills up, unused instructions get replaced.

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

Pipelining

A

The process of completing the FDE cycles of three separate instructions simultaneously. Data is held in a buffer in close proximity to the CPU until it’s required. Pipelining is aimed to reduce the amount of the CPU which is kept idle.

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

Von Neumann Architecture

A

Includes a single CU, ALU, registers and memory units. Shared memory and data bus used for both data and instructions.
BENEFITS: cheaper to develop since the CU is easier to design. Programs can be optimized in size

17
Q

Harvard Architecture

A

Physically separate memories for instructions and data. More commonly used with embedded processors.
BENEFITS: Quicker since data and instructions can be fetched in parallel. Both memories can be different sizes.

18
Q

Contemporary processing

A

Combination of Harvard and Von Neumann. Uses VN when working with the data and instructions in main memory. Uses H when working with cache. There is an instruction cache and a data cache.

19
Q

FDE cycle

A

The FDE cycle is a sequence of operations that are complete in order to execute an instruction.

FETCH: Address from the PC is copied to the MAR. Instruction held at that address is copied to MDR by the data bus, simultaneously the contents of the PC are increased by 1. The value held in the MDR is copied to the CIR.

DECODE: The contents of the CIR are split into operand and opcode.

EXECUTE: The opcode is executed on the operand