Component 1 - Key Definitions Flashcards
Register
A small, fixed width piece of memory inside the CPU. Usually between 16-128 bits wide. Registers are used to hold data or instructions as they are being worked on. Registers can also be used to represent the status of various CPU components.
Program Counter
A register used to hold the address of the next instruction to be executed. It is possible to switch tasks that the CPU is carrying out by changing the address held in the PC.
Accumulator (ACC)
A general purpose register, usually used to hold the result of the last calculation or instruction carried out
Memory Address Register (MAR)
Used to hold the address in memory which will be accessed next.
Memory Data Register (MDR)
Used to hold the data which ahs just been fetched from RAM or is about to be written to RAM
Current Instruction Register (CIR)
Where the instruction about to be run is decoded – held in the form Operator, Operand
Data Bus
The connection between the CPU and RAM – literally a collection of wires. Used to send data between CPU and RAM
Control Bus
Used to connect the various components in the CPU and also to RAM. Used to send control signals to co-ordinate the timing/workings of the CPU and also to tell RAM whether a read/write operation is needed.
Address Bus
Used to connect the CPU and RAM so that addresses which need to be read from or written to can be sent to the memory controller.
Control Unit
Used to coordinate the actions of the CPU during the FDE cycle. Sends signals down the control bus to components.
FDE Cycle
The purpose of the CPU – the Fetch, Decode, Execute cycle. Happens continuously whilst power is on. The number of FDE cycles per second is called the “clock speed” and is measured in Ghz (Gigahertz)
Performance - Speed
The number of FDE cycles a CPU can carry out per second. Has a direct impact on the speed at which program instructions can be executed. Measured in Ghz – billions of cycles per second.
Performance - Cores
A core is a discrete processing unit inside a CPU – The more cores a CPU has, the more instructions can be executed simultaneously. Has a direct impact on the multitasking ability of a CPU
Performance - Cache
Cache is a small amount of memory inside a CPU. Usually comes in different “levels” which differ in speed and size. L1 cache is the fastest and smallest, L3 is the slowest and largest. All are much, much faster than accessing RAM and therefore it is used to hold frequently accessed instructions to speed up program execution. Uses predictive algorithms to pre-fetch what the CPU thinks it will need to execute next.
The use of pipelining in a processor to improve efficiency.
Pipelining is a method of processing instructions more efficiently. Instructions are ordered by the CPU in such a way as to avoid idle cycles where nothing is being executed. In simple terms, the CPU executes one instruction, whilst decoding the second, whilst fetching a third.