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: x=a+b;
We would typically get an assembly code of:
load r1,//load to register r1, the value of the data in memory whose address is a
load r2, b; //load to register r2, the value of the data in memory whose address is b
add r3, r1, r2; //r3<1+2
The load time from on-chip memory in an SoC through the systerg bus has the following characteristics:
Best Case 20 clock cycles
Worst Case 125 clock cycles
The load, and add instructions itself would happen in 1 clock cycle and there is no instruction fetch related overhead. i.e, 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!