Notes from Class Book Flashcards
Why is FDE cycle used
Cycle carried out to process data
What happens in the Fetch stage and what registers are involved
Fetches data from RAM and stores it in registers
PC, MAR, MDR
What happens in the Decode stage and what registers are involved
CPU Decodes and gets ready for next step
CIR
What happens in the Execute stage and what registers are involved
Instruction is carried out
ALU, ACC
What makes up the CPU
ALU, CU and Registers
What is clock speed
Instructions carried out per second. It can be increased, overclocking
What is pipelining
Where the output of one stage is the input of the next
Why is pipelining used
To speed up tasks
What is instruction pipelining
As one instruction is executed the next can be decoded and the next fetched, queueing them up and decreasing processing time.
What is are the limitations of pipelining
If it fails and fetches the wrong instruction them whole pipeline must be flushed
What are the 5 registers (in order of use)
PC
MAR
MDR
CIR
ALU
ACC
What does the PC do
Points to the address of the next instruction to be executed
What does the MAR do
Holds address of instruction in memory
What happens after MAR is used in FDE cycle
Address travels to RAM and data is returned by data bus
What does the MDR do
Stores data after it has been fetched from RAM
What happens after MDR is used FDE cycle
CU decodes instruction
What does the CIR do
Stores decoded instruction
What does ALU do
Performs arithmetic or logic calculations
What does ACC do
Stores result of calculations in ALU
What are buses and what are the 3 types
Metal tracks on the motherboard
- Address
- Data
- Control
What is a register
Small, temporary, super fast memory
What happens when you open a program
Data and instructions are loaded into RAM
What does the CU do
Decodes instructions, controls flow of data
What is a feature of both the data and control bus
2 directional (CPU <-> Memory)