In: Computer Science
What is the difference between system clocks and bus clocks? Which one is used for assembly code?
Difference between System clocks and bus clocks
1. System clocks
A system clock is a small circuit on the motherboard of a system, which is used for synchronization of all the processes (hardware or software) running in the system. The faster the system clock speed, the more instructions the processor can execute per second.
2. Bus clocks
A bus clock is something which affects the rate of transmission of data from or to the storage devices and other peripherals. The higher the bus clock speed, the faster the transmission of data, which results in programs running faster.
Which one is used for assembly code?
As the assembly code is a set of instructions to be executed by the CPU, the system clock comes into consideration. The execution metrics of the assembly code depends on the value of system clock rate. Data bus clock rate probably wont affect these values unless there are a lot of load operations from storage device, as the CPU uses system registers for normal computations and bus is not utilized.
Hence answer is System clock.
References:
1. https://anydifferencebetween.com/difference-between-system-clock-and-bus-clock/
If you have any queries, comment down below.
Please UPVOTE.. Thank you !!