components of the CPU Flashcards
What is the function of the control unit (CU)?
-fetches program instructions from main memory one at a time
-and decodes them
-and directs the operations of the other parts of the system to execute them.
What is the function of the arithmetic logic unit (ALU)?
performs arithmetic and logic operations on data.
What is the function of the clock?
an electronic unit that synchronises related components by generating pulses at a constant rate.
What is the function of the cache?
small amount of very fast memory typically located very close to CPU or actually inside it.
-provides fast access to frequently used instructions and data
What is the function of the address bus?
holds the address of the memory location that the CPU will read from or write to.
-The number of wires in this bus (the bandwidth) determines how much addressable memory there is .
Is the address bus uni or bi directional
Unidirectional
what is the function of the data bus?
Transfers program instructions and data between memory and CPU
Why is the data bus bidirectional?
The CPU needs to be able to read program instructions and data from memory and write the results of operation to memory.
What is the function of the control bus?
Carries signals between the CPU and other parts of the computer system.
Is the control bus uni or bidirectional?
Bidirectional
What is the function of the program counter?
holds the address of the next instruction to be executed
What is the function of the memory address register (MAR)?
Holds the address in memory which data or an instruction needs to be read from or written to.
What is the function of the memory data register?
Holds either data or an instruction which has been fetched from memory or is about to be written back to memory.
What is the function of the accumulator
Set of general purposes registers which the CPU can utilize for different functions
-temporary values may be stored here before being written to and from memory
-depending on the CPU architecture or the number of different registers in the accumulator.