1.1 Systems Architecture Flashcards
What is the fetch instruction of the fetch-execute cycle?
- Memory address is copied from the program counter to the MAR.
- The instruction stored in the MAR is copied to the MDR.
- The program counter is incremented by 1 to point to the address of the next instruction, ready for the next cycle.
What is the decode instruction in the fetch-execute cycle?
- The instruction in the MDR is decoded by the CU.
- The CU may then prepare for the next step like loading values into the MAR / MDR.
What is the execute instruction in the fetch-execute cycle?
The instruction is performed. (Load data from memory, write data to memory, calculations / logic operation using ALU, change the address in the PC or halt the program.)
What is Von Neumann architecture?
Describes a system where the CPU runs programs stored in memory and these programs consist of instructions and data which are stored in memory addresses. Only uses one memory for both the instructions and data.
What are the different levels of cache memory?
-L1 is the quickest but has the lowest capacity.
-L2 is slower than L1 but higher capacity.
-L3 is slower than L2 but higher capacity.
What are the registers in the CPU?
A small amount of RAM contained within the processor which temporarily holds tiny bits of data needed by the CPU and is very quick to read / write to, much faster than any other form of memory.
What does the processing power of a CPU depend on?
-Clock speed.
-Number of cores.
-Cache size.
What is cache?
-Small amount of fast RAM built directly into the processor to temporarily hold instructions the processor is likely to reuse.
-This allows for faster processing as the processor does not have to wait for the data and instructions to be fetched from the RAM.
-Low capacity and expensive compared to RAM and secondary storage.
What is the accumulator?
Stores intermediate results of calculations in the ALU / holds the number you’re currently working on.
What is the ALU (Arithmetic Logic Unit)?
Does all the calculations like arithmetic operations, comparing numbers, logic operations, and binary shifts.
What is the CPU?
Processes all of the data and instructions that make the system work.
What is the CU (Control Unit)?
-Manages the fetching, decoding and execution of program instructions through the fetch-execute cycle.
-Controls the flow of data inside (to registers, ALU, cache) and outside the CPU (to main memory and input / output devices).
What is the MAR (Memory Address Register)?
Holds the address of the current instruction that is to be fetched from memory, or the address in memory to which data is to be transferred.
What is the MDR (Memory Data Register)?
Holds the contents found at the address held in the MAR, or data which is to be transferred to primary storage.
What is the memory of the CPU?
Holds the program instructions and the program data.