Question: Question 7 Suppose that you are working with a CISC machine using a 2 . 2 GHz clock ( i . e . , the
Question
Suppose that you are working with a CISC machine using a GHz clock ie the clock ticks billion times per second This particular computer uses MASMlike instructions with the following timings:
Suppose that the following code fragment is used to sum elements of a numeric array. For this problem, assume that memory limitations are nonexistent and that there is no limit to the size of the array.MOV ECX, MAXSIZE ; initialize LOOP counter
MOV ESI, OFFSET list ; initialize array pointer
ProcessArray:
ADD BXESI ;Add current list element
ADD ESI, ;Move array pointer to next element
LOOP ProcessArray ;autodecrement ECX, jump to more if ECX
eqAfter initialization, how many array elements can be processed in millisecond ms Round your answer to the nearest integer. Note that ms second.
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
