I'm trying to understand how ARM microcontrollers execute programs, but I'm encountering some confusion regarding two key concepts: instruction set and clock cycle. Despite reviewing numerous PDF files, I still lack clarity.
My current understanding is that we write C code, the compiler transforms it into an executable file, and then we use a programmer to load the hex file into the microcontroller's memory. The program counter points to the starting location, and the processor sequentially executes operations for instructions at the given address. I believe that the time taken for the processor to execute an operation is referred to as a clock cycle.
My current understanding is that we write C code, the compiler transforms it into an executable file, and then we use a programmer to load the hex file into the microcontroller's memory. The program counter points to the starting location, and the processor sequentially executes operations for instructions at the given address. I believe that the time taken for the processor to execute an operation is referred to as a clock cycle.
