Architecture of the CPU * Flashcards
What are the three stages of the fetch-execute cycle?
Fetch
Decode
Execute
What happens at each stage of the fetch execute cycle?
Fetch - fetches next instruction from main memory CPU
Brings instructions back
Decode - inspects instructions and works out what needs to be done
Execute - carries out the instruction
List the four common CPU components
ALU (Arithmetic Logic Unit)
CU (Control Unit)
Cache
Registers
What is the ALU?
(Arithmetic Logic Unit)
Performs calculations and logical decisions
What is the CU?
(Control Unit)
Sends signals to control how data moves around the CPU
What is cache?
Provides fast access to frequently used instructions and data
What are registers?
tiny, super fast pieces of onboard memory inside the CPU, each with a very specific purpose
What does Von Neumann architecture consist of?
CU, ALU, memory unit (usually RAM), inputs and outputs
What does the register Program Counter (PC) do?
it holds the address of the next instruction in memory
What does the Memory Address Register (MAR) do?
it holds the address of where data is to be fetched or stored
What does the Memory Data Register (MDR) do?
it holds the data fetched from, or to be written to memory
What does the accumulator do?
it holds the results of calculations