1.1.1 STRUCTURE AND FUNCTION OF THE PROCESSOR Flashcards
Program Counter (PC)
Holds the address of the next instruction to be executed
Accumulator (ACC)
Stores the results from calculations
Memory Address Register (MAR)
Holds the address of a location that is to be read from or written to
Memory Data Register (MDR)
Temporarily stores data that has been read or data that needs to be written
Arithmetic Logic Unit (ALU)
Completes the arithmetical and logical operations
Control Unit (CU)
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
What are registers
Small memory cells that operate at very high speeds. Used to temporarily store data. All arithmetic, logical or shift operations occur in these registers.
Buses
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.
Data bus
A bi-directional bus used for transporting data and instructions between components.
Address bus
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
Control bus
This is a bi-directional bus used to transmit control signals between internal and external components.
Clock speed
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.
Number of Cores
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.
Cache memory
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.
Pipelining
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.