SLR 01 - Structure and Function of the CPU Flashcards
What does the CU stand for?
The Control Unit
What does the CU do?
Co-ordinates all activities
Directs flow of data
Controls the FDE cycle
Sends memory read/write requests
Uses registers and clock
Communicates with all components
What does the PC stand for?
Program Counter
What does the PC do?
It is holds the address of the next instruction
This is either:
- The next instruction in a sequence
- The address to jump too when branching
Every FDE cycle the contents of the PC copies into the MAR
What does the MAR stand for?
The Memory Address Register
What does the MAR do?
Holds the address of the memory location from which a data / instruction to be fetched
Sends the address down the address bus to main memory
What does the MDR do?
The Memory Data Register
What does the CIR stand for?
The Current Instruction Register
What does the MDR do?
Temporary storage of data that is to read from or to be written to memory
Sometimes considered the Memory Buffer Register
All data that interacts with Main memory must pass through the MDR
What does the CIR do?
Holds the currently executed instruction
MDR contents is copied into the CIR if it is an instruction
Contains the opcode and operand of an instruction
What does ALU stand for?
The arithmetic logic unit
What does the ALU do?
Executes all Arithmetic and logic operations
Uses general purpose registers to hold results
What does the Accumulator do?
It is a general purpose register to hold data or control information
A CPU with more general purpose registers runs faster
What does the Address Bus do?
Carries memory addresses from the MAR to Main Memory
What does the Data Bus do?
Carries binary that makes up transmitted information between the MDR and Main Memory