Computer Systems - CPU Flashcards
Purpose of CPU
To execute program instructions.
Processes 1 task at a time.
It equates to the human brain.
Each CPU has got it’s own instruction set.
Types of tasks…
Searching
Sorting
Calculating
Making Decisions
Control Unit
Directs the operation of the processor.
Tells the computer’s memory Arithmetic And Logic Unit and input and output devices on how to respond to a program’s instructions. (controls and monitors hardware e.g. PRINTER)
Arithmetic and Logic Unit (ALU)
Digital circuit used to perform arithmetic and logic operations.
Represents the fundamental building block of the CPU.
Immediate Access Store (IAS)
Where the CPU holds all the data and programs that it’s currently using. Fetches the data and programs in the background, store it in RAM temporarily.
Arithmetic
performs calculations
Logic
deals with logic and comparisons
Bus
A communication system that transfers data between components inside a computer, or between computers (e.g. wires)
Address Bus
(doesn’t carry the data just the address)
Transfers data between devices that are identified by hardware address, which is stored in binary numbers to enable the data bus to access memory storage.
Data Bus
(carries the data)
Connects all the internal components of a computer, such as CPU and memory, to the motherboard. Connects to local devices.
Control Bus
(specifies read or write operation)
Used by the CPU to communicate with devices within the computer. Connected using cables or printed circuits.
Von Neumann architecture
Utilises one central memory store which hold two key pieces of information:
Instructions – The programs
Data – User data that has been entered
(Every PC runs on this architecture)
Fetch-Decode-Execute
(core function of the CPU)
The Data id loaded…
FETCH: Gets the address from the CPU and sends it to the register using the address bus. Data is then sent back to the CPU using the data bus.
DECODE: The address is a memory location and is sent to the RAM using the address bus. Counter is incremented.
EXECUTE: Contents of the address are loaded on the accumulator.