subject

Suppose that you are working with a cisc machine using a 2.4 ghz clock (i. e., the clock ticks 2.4 billion times per second).

this particular computer uses masm-like instructions with the following timings: add reg, mem 7 clock cycles (i. e., the add micro-program has 7 instructions) add reg, immed 4 clock cycles loop label 7 clock cycles

suppose that the following code fragment is used to sum elements of a numeric array.

for this problem, assume that memory limitations are non-existent and that there is no limit to the size of the array. mov bx, 0 ; initialize sum mov ecx, max_size ; initialize loop counter mov esi, offset list ; initialize array pointer more:

add bx, [ esi ] ;

add current list element add esi, 2 ;

move array pointer to next element loop more ;

auto-decrement ecx, jump to more if ecx ≠ 0 after initialization, how many array elements can be processed in 2 ms?

round your answer to the nearest integer.

note that 1 ms. = 0.001 second.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
question
Computers and Technology, 23.06.2019 22:50
An environmental protection agency study of 12 automobiles revealed a correlation of 0.47 between engine size and emissions. at 0.01 significance level, can we conclude that there is a positive association between the variables? what is the p value? interpret.
Answers: 2
You know the right answer?
Suppose that you are working with a cisc machine using a 2.4 ghz clock (i. e., the clock ticks 2.4 b...
Questions
question
Mathematics, 10.11.2020 07:30
question
Mathematics, 10.11.2020 07:30
question
Social Studies, 10.11.2020 07:30
question
Mathematics, 10.11.2020 07:30