Digital Design - Ch1 Part2
One way to think about execution time is that it equals the number of
instructions executed multiplied by the average time per instruction. Therefore, the
number of clock cycles required for a program can be written as :
Q1)Describe the steps that transform a program written in a high-level
language such as C into a representation that is directly executed by a computer
First,> C→ Words + Algebraic notation referred to bit or binary.
2nd → every operation → compile to sets of operation in a compiler.
3nd → Translate to instruction in mnemonic (memory)