Paper 1 Flashcards
Control Unit (CU)
¬ executes program instructions by following FDE cycle
- controls data flow inside CPU to registers and outside CPU
- Overall control of CPU
Program Counter (PC)
holds memory address of the instruction for each cycle
cache
¬ very fast memory but slower than registers.
- Stores regularly used data to access quickly.
- low capacity but expensive
- which means more cache improves the performance of the CPU
- the bigger the cache size,the more data can be stored closer to the CPU.
Memory Address Register (MAR)
holds the memory address about to be used by the CPU, which can point to specific data or CPU instructions
Memory Data Register (MDR)
holds the data or instructions fetched from memory or waiting to be written to memory
Arithmetic Logic Unit (ALU)
¬ carries out calculations and logical operations.
- contains accumulator which is used to store intermediate results and calculations
clock speed
¬ the speed which instructions are executed in cycles per second.
- measured in hertz
higher rate of clock speed
the higher the rate clock speed, the greater the number of instructions that can be carried out per second
core
-it can independently perform or process all computational tasks.
- more cores = the more instructions it can carry out at once so the faster it can process a batch of data
Random Access Memory (RAM)
¬ main memory
- volatile (loses data when off)
- more RAM = better performance
- more programs can run at the same time -multitaksing
- stores: applications, GUI, OS
Read Only Memory (ROM)
¬ CPU reads instructions from ROM
- non-volatile (keeps data when off)
- smaller capacity
- stores: BIOS
virtual memory
Area of secondary storage used by the OS as extra RAM
Fetch-Decode-Execute cycle (fetch)
1# copy memory address from PC to MAR
2# copy instructions stored in MAR to MDR
3# increment PC to point to address for next instruction
decode
the instruction in the MDR is decoded by the CU . The CU may then prepare for the next step
execute
the instructions is performed this could be load data from memory, write data to memory ,do a calculations or logic operation