Computer architecture Flashcards
What cycle summarises the CPU processes?
The Fetch Decode Execute Cycle
What does CPU stand for?
Central Processing Unit
CPU
What do we call the step where the CPU fetches some data and instructions from main memory (RAM) and then store them in its own temporary memory called ‘registers’.
The Fetch Step
In the CPU Fetch Stage, how does data get from the CPU to the RAM / Memory and back again?
Address Bus for CPU to RAM Memory
Data Bus for RAM / Memory to CPU
CPU
What do we call the step where the CPU understands / works out what the instruction it has just fetched actually means.
The CPU ‘decodes’ the instruction and gets things ready for the next step.
The Decode Stage
CPU
What do we call the step where data processing happens.
Instructions are carried out on the data.
Once a cycle has completed, another begins.
The execute stage
The CPU basic actions are Fetch, Decode and Execute.
What are the areas the CPU is responsible for? (3 areas)
1) Control Unit
2) Immediate Access Store (IAS) or “Cache”
3) Arithmetic and Logic Unit (ALU)
In the CPU the Control Unit has three main jobs.
What are they?
Control Unit:
1) It manages and monitors hardware on the computer to ensure the correct data goes to the correct hardware.
2) It manages the input and output signals ensuring these are dealt with correctly.
3) It manages the Fetch-Decode-Execute cycle.
In the CPU what does the Immediate Access Store or Cache do?
This part stores the data which is to be immediately processed.
The CPU takes a chunk of data / instructions from the RAM and keeps it close so that it always has a constant supply of data to process.
In the CPU what does the Arithmetic and Logic Unit (ALU) do? And what are the two parts of the ALU?
This is were the CPU actually carries out the maths and logic on the data (processes it).
It has two parts:
Arithmetic part, which performs calculations on the data, e.g. 3 + 2 = 5
Logic part – which deals with logical operations such as is True / False / Equal to / Greater than etc.
Who was John Von Neuman?
Born in 1945, mathematician, invented the architecture for computers
Assembly Language and the Von Neumann Architecture
What does it mean?
ADD
Add numbers together
Assembly Language and the Von Neumann Architecture
What does it mean?
SUB
Subtract numbers
Assembly Language and the Von Neumann Architecture
What does it mean?
STA
Store a value
Assembly Language and the Von Neumann Architecture
What does it mean?
LDA
Load a value