Question: For a ' C ' statement as: x = a + b; We would typically get an assembly code of: load r 1 , /
For a C statement as: xab;
We would typically get an assembly code of:
load rload to register r the value of the data in memory whose address is a
load r b; load to register r the value of the data in memory whose address is b
add r r r; r
The load time from onchip memory in an SoC through the systerg bus has the following characteristics:
Best Case clock cycles
Worst Case clock cycles
The load, and add instructions itself would happen in clock cycle and there is no instruction fetch related overhead. ie instructions are in the cpu pipeline already. For
the above assembly code indicating the C statement, What is the BCET Best Case Execution Time and WCET Worst Case Execution Time
Select one:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
