The CPU (System Architecture) Flashcards
What 4 registers are in the CPU?
Program Counter (PC)
Memory Address Register (MAR)
Memory Data Register (MDR)
Accumulator
What is a register?
A very fast memory location in the CPU
What is cache?
It is slower to access than registers but faster than RAM
Program Counter
Points to the next instruction that needs to be executed. Located in the Control Unit
Memory Address Register
Holds the address of the current instruction and then the data that it uses so that these can be fetched from memory
Memory Data Register
Holds the actual instruction and then the data that has been fetched from memory
Accumulator
Holds the result of an instruction before it is transferred to memory
Explain the Fetch-Decode-Execute cycle
Fetch - causes the next instruction and any data involved to be fetched from main memory
Decode - decodes instruction
Execute - the instruction is executed
Arithemetic Logic Unit (ALU)
Performs calculations and logic expressions
Control Unit
Co-ordinates the CPU activities